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=eb8a5d2ad5ccc248b579511b9e1af53de9916f76&shallow=1#packages.x86_64-linux.attic-client' \
--print-build-logs
Locally
Must be run from repository root directory at commit eb8a5d2a
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.attic-client \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit eb8a5d2a
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.attic-client \
--print-build-logs
Limitations