Closed sgillespie closed 6 years ago
@sgillespie Thanks! Presumably, the solution is simple for those who know how to add a new dependency to shell.nix
... Do you know Nix well enough to try to fix this?
@sgillespie Feel free to give a shot at https://github.com/alpmestan/ghc.nix. nix-shell ~/ghc.nix/ --run 'hadrian/build.sh -j'
should just work (I use it with both the make build system and hadrian). Add -c
if you have not run ./boot
and ./configure
.
Note: we may or may not later on replace the existing shell.nix in hadrian with this. It's quite recent but several GHC devs (like @bgamari and @mpickering) who are also Nix users use it on and off now, so it appears to be somewhat promising.
@snowleopard I will submit a patch shortly
There appears to be a missing dependency on
gmp
inshell.nix
: