Reproduce

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@github.com/sellout/flaky?ref=main&rev=966a7edfec73e040c460c896800b331b9eb9b8f9&shallow=1#formatter.x86_64-linux' \
    --print-build-logs

Locally

Must be run from repository root directory at commit 966a7edf

nix \
    --extra-experimental-features nix-command \
    --extra-experimental-features flakes \
    --log-format raw-with-logs \
    build --no-link --print-out-paths .#formatter.x86_64-linux \
    --print-build-logs

Feedback Loop

Must be run from repository root directory at commit 966a7edf

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 .#formatter.x86_64-linux \
    --print-build-logs

Limitations