Reproduce

Exactly

nix \
    --extra-experimental-features nix-command \
    --extra-experimental-features flakes \
    --log-format raw-with-logs \
    build --no-link 'git+ssh://git@github.com/sellout/ghc-compat?ref=main&rev=372152c7bf8f429dd9c2167f50a3b14896fa0a8e#packages.x86_64-linux.ghc9122_all' \
    --print-build-logs

Locally

Must be run from repository root directory at commit 372152c7

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

Feedback Loop

Must be run from repository root directory at commit 372152c7

nix run github:NorfairKing/feedback -- -- nix \
    --extra-experimental-features nix-command \
    --extra-experimental-features flakes \
    --log-format raw-with-logs \
    build --no-link .#packages.x86_64-linux.ghc9122_all \
    --print-build-logs

Limitations