hadrian/ghci doesn't respect bootstrap compiler choice
If I run configure
and override GHC
(with a different ghc
executable in PATH
), hadrian/ghci
will fail since it calls the ghc
in PATH
, not that which configured:
$ ./configure GHC=ghc-8.8.3
...
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.8.2
$ hadrian/ghci
GHCi, version 8.8.2: https://www.haskell.org/ghc/ :? for help
<command line>: cannot satisfy -package-id process-1.6.8.0
(use -v for more information)
The problem is that hadrian/ghci-cabal
calls whichever ghci
is in PATH
, paying no heed to what was configured.