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=e15944f917319e1d9c63c26c3e9883de66ff3f13&shallow=1#checks.x86_64-linux.nixos-denethor' \
--print-build-logs
Locally
Must be run from repository root directory at commit e15944f9
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 e15944f9
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