-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal2nix in release20.03 is built using GHC881 which is not in cache #87184
Comments
Looks like it's failing because bootstrapping ghc 8.8.1 segfaults? https://hydra.nixos.org/build/118296850/nixlog/1/tail I can get ghc 8.8.2 and 8.8.3 from cache just fine; is it worth supporting 8.8.1 at this point? Note also that |
I believe the reason cabal2nix comes from 8.8.1 (and not 8.6.5) is because it is kind of awkward to override Haskell packages in a package set when cabal2nix comes from that same package set:
I'm not sure why this would be happening, but an easy workaround here is to just send a PR that gets |
Sounds promising, but I will not have time to do this. |
The new version supports older versions of Cabal again and therefore doesn't need any overrides or a newer compiler to build. The default ghc-8.6.x in the release-20.03 release branch can compile it just fine. Fixes #87184.
Fixed in 6b2dc0e. |
The new version supports older versions of Cabal again and therefore doesn't need any overrides or a newer compiler to build. The default ghc-8.6.x in the release-20.03 release branch can compile it just fine. Fixes NixOS#87184.
Describe the bug
Attempt to install cabal2nix on stable channel (
release-20.03
) results in huge build which include such monster as GHC.To Reproduce
Just type:
$ nix-shell -p cabal2nix --dry-run
you'll be greeted with long list of packages.Expected behavior
I would expect that it should be either downloaded from binary cache or at very least will use GHC from binary cache. Digging through commit history show that cabal2nix started using GHC881 since cfb580f. Now it should probably use either GHC883 explicitly or just one from haskellPackages
Notify maintainers
@peti
Metadata
The text was updated successfully, but these errors were encountered: