-
Notifications
You must be signed in to change notification settings - Fork 25
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
Make it build with ghc 9.12 #1406
base: main
Are you sure you want to change the base?
Conversation
No longer needed. GHC has been deriving this typeclass for some time and ghc-9.12 now warns about it being redundant.
b9dd4f4
to
0c19547
Compare
7a46308
to
e5fad05
Compare
d7e36b3
to
226d273
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks good, but I wonder if we want to merge it with those allow-newer
.
Also I'd rather wait until the 10.3 branch is rebased onto latest main, before merging this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes look mild (🙌) except that ref=for-stackackage
in the haskell.nix
declaration.
@@ -16,7 +16,7 @@ | |||
inputs.hackage.follows = "hackageNix"; | |||
}; | |||
hackageNix = { | |||
url = "github:input-output-hk/hackage.nix"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the broader consequences of this change. The haskell.nix
repo says:
The for-stackage branch also contains all cabal expressions from hackage.org as nix expressions.
This branch is used when working with stack projects in haskell.nix.
Could you summarize the potential reasons to not use it? And what is requiring its use here? The Consensus build process (eg CI) generally doesn't involve stack.
Description
Make it build with ghc 9.12
Also note that: