Exactly
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths 'git+ssh://git@codeberg.org/mtlynch/little-moments?ref=master&rev=41e98e259eb8ca185d1fe381ace437475b7b7d83#packages.x86_64-linux.check-go-formatting' \
--print-build-logs
Locally
Must be run from repository root directory at commit 41e98e25
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths .#packages.x86_64-linux.check-go-formatting \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 41e98e25
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 .#packages.x86_64-linux.check-go-formatting \
--print-build-logs
Limitations