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=mobile-swipe&rev=5a99abcc95e7b9efff67bf96860e0c2e6200d5cd#packages.x86_64-linux.check-trailing-whitespace' \
--print-build-logs
Locally
Must be run from repository root directory at commit 5a99abcc
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 5a99abcc
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