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/ananjiani/infra?ref=main&rev=8bad1585b1b5b79d0b1c6fcaab3f79fd010229d5&shallow=1#checks.x86_64-linux.nixos-denethor' \
--print-build-logs
Locally
Must be run from repository root directory at commit 8bad1585
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths .#checks.x86_64-linux.nixos-denethor \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 8bad1585
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 .#checks.x86_64-linux.nixos-denethor \
--print-build-logs
Limitations