ghcup-hs
ghcup-hs copied to clipboard
Fix GHC used for hadrian during `ghcup compile ghc`
I was assuming the "bootstrap GHC" is also the GHC that is used when cabal builds hadrian. That turned out to be false: https://gitlab.haskell.org/ghc/ghc/-/issues/24681
So we either have to:
- pass the bootstrap GHC as env var to hadrian invocation as well
- set another config knob to select hadrian GHC
Currently it defaults to "whatever ghc
is in PATH".