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=upload-to-s3&rev=612232c5cd335ffe48e48d0a23fe1cf4bbe1ed4b#packages.x86_64-linux.check-trailing-whitespace' \
--print-build-logs
Locally
Must be run from repository root directory at commit 612232c5
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link .#packages.x86_64-linux.check-trailing-whitespace \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 612232c5
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-whitespace \
--print-build-logs
Limitations