Hadrian problem

Simon Peyton Jones simon.peytonjones at gmail.com
Tue Jul 12 12:24:49 UTC 2022


I'm in a GHC tree, built with Hadrian, I'm getting this red problem.  But
compilation has got way past compiling base.

why is it looking in my .ghc/... directory?   It should be looking in my
build tree.

Simon

bash$ ~/code/HEAD-1/_build/ghc-stage1 -c Foo.hs
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
    (use -v for more information)

bash$ cat ~/code/HEAD-1/_build/ghc-stage1
"/home/simonpj/code/HEAD-1/_build/stage0/bin/ghc" "-no-global-package-db"
"-package-db /home/simonpj/code/HEAD-1/_build/stage1/lib/package.conf.d"
"$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20220712/bc1a6f3f/attachment.html>


More information about the ghc-devs mailing list