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=shrink-handlers&rev=f04d3665d86a6efde851814ab899522e1b3ebe2e#packages.x86_64-linux.check-trailing-whitespace' \
--print-build-logs
Locally
Must be run from repository root directory at commit f04d3665
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 f04d3665
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