alpmestan / ghc.nix

Nix (shell) expression for working on GHC
https://haskell.org/ghc/
BSD 3-Clause "New" or "Revised" License
143 stars 51 forks source link

More stable nixpkgs sources #152

Closed supersven closed 1 year ago

supersven commented 1 year ago

Currently, ghc.nix seems to build "the whole world". (Even tar is compiled!) That's too time consuming and thus not good.

We should check, when we can remove the dependency on nixpkgs-unstable, again. (I guess that's the root cause.)

bgamari commented 1 year ago

Yes, I agree. We should, IMHO, keep ghc.nix on a nixos release branch (ideally the most recent release) if at all possible.

MangoIV commented 1 year ago

the next release of a stable package set will happen in may (23.05), I recommend to switch to stable then.

MangoIV commented 1 year ago

I've also looked at the latest actions, sometimes you just have an unlucky one. e.g. the last one took 1.5h and it seems like it spent most of the time building ghc, then last week there was one that took twice as long. This can be avoided with a stable package set but I think the three hours case was also particularly unlucky.

MangoIV commented 1 year ago

we can switch back to stable 2023-05-31 based on the release schedule for nixos 23.05.