haskell.nix
haskell.nix copied to clipboard
can't build ghc because recent nixpkgs lacks ghc962
After upgrading to recent nixpkgs and haskell.nix, my build fails due to missing ghc962 which was recently removed from nixpkgs.
It looks like ghc962 is used to bootstrap the building of ghc. Updating this to ghc963 (as per patch below) resulted in a build error. I am continuing to experiment a little, but I am out of my element.
https://github.com/goertzenator/haskell.nix/commit/6dd3ff8fb506725d7d5af69300b73b4d5290cf24
cc @hamishmack we're also blocked by this, do you think we can switch to ghc964 in hopes to prolong this for a bit more?
This one seems to work for building ghc964: https://github.com/goertzenator/haskell.nix/tree/updateghc962
It did not work for building ghc965, although I may have done something else wrong so it is worth double checking.
cc @hamishmack
This is fixed in #2156. That PR is not merged yet as we have not found a way to avoid breaking windows cross compilation for GHC <9.4.
Can we at least fix the bootstrap GHC issue in the short term?
#2156 is merged