ghc-stage1 wrapper can read package environment
A concerned user reports to me through the responsible disclosure channels:
Matthew
I'm stuck here:
./_build/ghc-stage1 --show-iface _build/stage1/libraries/base/build/GHC/Real.hi >& real-hi
I want to see the .hi file from a particular library. That's the right way to invoke ghc-stage1, right? But I get
Loaded package environment from /home/simonpj/.ghc/x86_64-linux-9.5.20220628/environments/default
<command line>: cannot satisfy -package-id base-4.17.0.0
The issue is the ghc-stage1 wrapper shouldn't look at the environment file.