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