-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add support for ghc 9.0.1 #312
Conversation
thanks again, maybe some of libs in the allow-newer list has been updated and could be removed |
@jneira Probably. Is there a way to automate that? My attempts requires me to loop between running |
I've added references to mokus0/th-extras#8 and obsidiansystems/dependent-sum#57 in the |
I'm not sure why it failed on CI. It worked for me locally. :/ |
That is my manual process too, I don't know an automate way to do it 😟 |
@jneira If you have time, can you check if this patch works for you on ghc-9.0.1 or if it accidentally works for me locally because of some impurity? |
@anka-213 I cant reproduce the error after a cabal update (sadly i didnt try before) |
@jneira Yep, that was the problem. Thanks! |
@anka-213 hi! i think we could merge this one and remove one of the remote repo packages. |
These should be removed once the fixes are merged
Those were introduced in this commit: ef59c28#diff-b8ed06757045fac949c89f2139a862498ad2b6d1f82c61a31e7c91d6cf0eaa70 Is that problem resolved now? I guess it is, since CI succeeds. |
he I suggested the change to fix the build there but this pr seems to fix it in another way, to investigate |
Oh, the answer is really simple. My changes includes upstream patches of those packages, so we no longer need to constrain the version. |
the question is we can't do a hackage release until all upstream packages are there so not sure if we should merge this |
Oh, right. That's a good point. I didn't think of that. Otoh, it does still build successfully (I believe, haven't actually tried) on any ghc < 9 without those upstream patches, so it shouldn't really be a problem to put it on hackage. |
Are you sure that a Hackage release cannot be done? Technically, the package overrides in |
@pepeiborra mmm you are right, it will not work for 9.0.1, failing in the solver phase like the actual one (i've checked it, just in case it would be a build error and no solver error) |
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.
lgtm @anka-213 many thanks for working on this
will merge soon if nobody disagree
This integrates the changes from #281 and also fixes some Template Haskell issues caused by ghc-9.0.1 having stricter staging rules than earlier versions.
(Step towards haskell/haskell-language-server#297)