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