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=add-gofmt-rule&rev=fc47ee5cb82ffe6cfc3e3a1956307bd0b703f462#packages.x86_64-linux.lint-sql' \
--print-build-logs
Locally
Must be run from repository root directory at commit fc47ee5c
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link .#packages.x86_64-linux.lint-sql \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit fc47ee5c
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.lint-sql \
--print-build-logs
Limitations