Exactly
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths 'git+https://codefloe.com/mtlynch/pointer-brother.git?ref=master&rev=1d65db2d2fbe1cc9fb32f4eb9ba744bb33b5c222&shallow=1#formatter.x86_64-linux' \
--print-build-logs
Locally
Must be run from repository root directory at commit 1d65db2d
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths .#formatter.x86_64-linux \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 1d65db2d
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 .#formatter.x86_64-linux \
--print-build-logs
Limitations