Re: Unable to build on NixOS

2018-05-30 Thread Ben Gamari
Patrick Dougherty writes: > Huh, > > So this is a bug I thought I dealt with :/ > In the short term, I've found that often simply trying the build again > can fix it. This is a dependency issue that I don't 100% understand. > I also encountered this (although it's rather unlikely to occur with

Re: Unable to build on NixOS

2018-05-29 Thread Sean D Gillespie
> For some more technical background, the "InfoTableProf" module is only > built/needed > when it is used with PROFILING. It uses CPP to "peek" into the StgInfoTable, > which changes under profiling. I think my issue was that nixpkgs.ghcHEAD configurePhase was overwriting my build.mk. That

Re: Unable to build on NixOS

2018-05-29 Thread Patrick Dougherty
Huh, So this is a bug I thought I dealt with :/ In the short term, I've found that often simply trying the build again can fix it. This is a dependency issue that I don't 100% understand. For some more technical background, the "InfoTableProf" module is only built/needed when it is used with

Unable to build on NixOS

2018-05-26 Thread Sean D Gillespie
Howdy, I am unable to build the latest revision of GHC on NixOS. I can build older revisions. Here's my error: ===--- building final phase make --no-print-directory -f ghc.mk phase=final all "inplace/bin/ghc-stage1" -hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -eventlog -H32m