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@github.com/NorfairKing/promql?ref=development&rev=949acd8fcb683d07fca8124d6398e021552afbcb&shallow=1#packages.x86_64-linux.promql-e2e' \
--print-build-logs
Locally
Must be run from repository root directory at commit 949acd8f
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.promql-e2e \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 949acd8f
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.promql-e2e \
--print-build-logs
Limitations