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/go-app-starter.git?ref=master&rev=150756e191797131d2f41dace9b8c63633ecaa7f&shallow=1#packages.x86_64-linux.go-app-starter' \
--print-build-logs
Locally
Must be run from repository root directory at commit 150756e1
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.go-app-starter \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 150756e1
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.go-app-starter \
--print-build-logs
Limitations