haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

can't build ghc because recent nixpkgs lacks ghc962

Open goertzenator opened this issue 1 year ago • 5 comments

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

goertzenator avatar Jun 12 '24 21:06 goertzenator

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?

domenkozar avatar Jun 18 '24 12:06 domenkozar

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.

goertzenator avatar Jun 18 '24 12:06 goertzenator

cc @hamishmack

domenkozar avatar Jun 26 '24 11:06 domenkozar

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.

hamishmack avatar Jun 30 '24 13:06 hamishmack

Can we at least fix the bootstrap GHC issue in the short term?

michaelpj avatar Jul 01 '24 11:07 michaelpj

#2156 is merged

hamishmack avatar Jul 12 '24 12:07 hamishmack