
12 Jul
2022
12 Jul
'22
8:24 a.m.
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" "$@"