Exactly
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link 'git+ssh://git@codeberg.org/mtlynch/little-moments?ref=m1-part1&rev=e1b7b14a14ad09ecd2ffe3b4b53b0ea60c45fc5a#packages.x86_64-linux.check-trailing-newline' \
--print-build-logs
Locally
Must be run from repository root directory at commit e1b7b14a
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link .#packages.x86_64-linux.check-trailing-newline \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit e1b7b14a
nix run github:NorfairKing/feedback -- -- nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link .#packages.x86_64-linux.check-trailing-newline \
--print-build-logs
Limitations