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=5ef6d7e58544a43514434dc3ffdf7efd23979d6b&shallow=1#checks.x86_64-linux.nixos-erebor' \
--print-build-logs
Locally
Must be run from repository root directory at commit 5ef6d7e5
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-erebor \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit 5ef6d7e5
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-erebor \
--print-build-logs
Limitations