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=mobile-swipe&rev=e21d499f0b56ab9e3ed3fe648a8c48b84e890930#packages.x86_64-linux.check-go-formatting' \
--print-build-logs
Locally
Must be run from repository root directory at commit e21d499f
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link .#packages.x86_64-linux.check-go-formatting \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit e21d499f
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-go-formatting \
--print-build-logs
Limitations