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/NorfairKing/hatrace?ref=your-first-flake&rev=42f2702f07cb916df5a000f8c3696a16c70dcb97#packages.x86_64-linux.hatrace' \
    --print-build-logs

Locally

Must be run from repository root directory at commit 42f2702f

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.hatrace \
    --print-build-logs

Feedback Loop

Must be run from repository root directory at commit 42f2702f

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.hatrace \
    --print-build-logs

Limitations