ghcup-hs icon indicating copy to clipboard operation
ghcup-hs copied to clipboard

Fix GHC used for hadrian during `ghcup compile ghc`

Open hasufell opened this issue 3 months ago • 0 comments

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".

hasufell avatar Apr 23 '24 11:04 hasufell