-
Notifications
You must be signed in to change notification settings - Fork 241
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
GHCs before 8.4 are not supported? #69
Comments
Yes this is a bit annoying. What we do at IOHK, is to maintain our own fork of Would you think moving ghc expressions into haskell.nix was a better approach? |
I'm not sure I follow your last idea, which ghc expressions do you mean? One probable option I see is to make |
@angerman I think it'd be good if someone made a standalone overlay for nixpkgs that defines a very large set of GHC versions. |
@ElvishJerricco Right. That could initially live in haskell.nix as well, until we have a better place. It could also finally start reducing the copy-and-paste approach taken in nixpkgs and abstract the ghc builder int a generic one. (or even a hadrian one). But I'm afraid that's not what @qrilka was after here I believe? |
@angerman it could resolve the problem I guess - if there will be some source of all the needed GHCs then there will be no special need to say explicitly that not all GHC versions (and Stackage snapshots because of that) are supported. So I think ideally it would be great to have better GHC version coverage but until there is such there is a need to document what's currently supported. |
So, #119 made it so that |
As we now ship our own set of compilers. And we are officially at 8.8.1 already. I'll close this for now. If someone really feels the need for those old compilers, please add them to |
I was trying out building some Stack packages with
nix-tools
but got failed. E.g. for the current Stack'smaster
I getand it looks like that line adds special patches but at https://github.com/input-output-hk/haskell.nix/tree/master/patches the oldest GHC version looks to be 8.4.1
If older versions are not supported then it makes sense to exclude corresponding Stackage snaphots as well.
Also it would be great if error from Nix were more descriptive.
The text was updated successfully, but these errors were encountered: