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=slice-3&rev=dc12e08ac1e49a35666f9d53afb4b0d9cfd2f00a#packages.x86_64-linux.check-go-formatting' \
--print-build-logs
Locally
Must be run from repository root directory at commit dc12e08a
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 dc12e08a
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