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/go-app-starter?ref=fix-goroot&rev=803c1f038185fc471890a407181cae78a44b3b4e#packages.x86_64-linux.check-trailing-whitespace' \
--print-build-logs
Locally
Must be run from repository root directory at commit 803c1f03
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 803c1f03
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