
Hi. I'm a Haskell developer and I have recently started exploring and building GHC, mainly with the hope of writing some small MRs for base. I use nixos and ghc.nix to setup a build environment. Last week I was able to build `ghc-8.10.7-release` with no trouble. I'm not sure what may have happened but I am unable to build either `ghc-8-10.7-release` or `master` this week. I tried deleting my fork and creating a new one but am getting the same results. For `master` I get this error: https://gist.github.com/ssbothwell/9693a919c521decf52503e9152b879b6 For `ghc-8.10.7-release` I get this error: https://gist.github.com/ssbothwell/fb5c418b4ee509cf0ad95d4337381e9e I hope this is the right venue to be asking for help on this. Would it be better for me to write an issue on the ghc.nix github page? Thanks, Solomon.

Those errors in both logs seem fairly odd. The first one appears to be
mostly a missing libgmp, the second one looks like hsc2hs's template file
is missing, however hadrian should have a rule for that.
You can try to clean your tree and rebuild.
git clean -xfd
git submodule foreach git clean -xfd
git submodule update --init --recursive
./boot && ./configure
cabal v2-update
hadrian/build -j --flavour=Quick/boot
In general the instructions on https://ghc.dev are pretty good.
Cheers,
Moritz
On Mon, Sep 20, 2021 at 8:50 AM Solomon Bothwell
Hi. I'm a Haskell developer and I have recently started exploring and building GHC, mainly with the hope of writing some small MRs for base.
I use nixos and ghc.nix to setup a build environment. Last week I was able to build `ghc-8.10.7-release` with no trouble. I'm not sure what may have happened but I am unable to build either `ghc-8-10.7-release` or `master` this week. I tried deleting my fork and creating a new one but am getting the same results.
For `master` I get this error: https://gist.github.com/ssbothwell/9693a919c521decf52503e9152b879b6 For `ghc-8.10.7-release` I get this error: https://gist.github.com/ssbothwell/fb5c418b4ee509cf0ad95d4337381e9e
I hope this is the right venue to be asking for help on this. Would it be better for me to write an issue on the ghc.nix github page?
Thanks, Solomon. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Moritz Angermann
-
Solomon Bothwell