-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Update ghc-9.0.1 support #2131
Update ghc-9.0.1 support #2131
Conversation
|
||
with-compiler: ghc-9.0.1 | ||
|
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.
what does this do?
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.
It is the equivalent to do -w ghc-9.0.1
or --with-compiler ghc-9.0.1
, make the build use that compiler executable
cabal-ghc901.project
Outdated
location: https://github.com/mpickering/hie-bios/ | ||
tag: 1875bff093983a0506f80e214eda27e7419da3bc | ||
-- https://github.com/mpickering/hie-bios/pull/300 |
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.
is there an upstream issue to upload this to Hackage?
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've commented in the mentioned pr about: haskell/hie-bios#300 (comment)
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.
Release is done
the stack build is failing with
but the .cabal file has ghc as dependency: haskell-language-server/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal Lines 16 to 31 in a800b9d
|
Looks like this is not depending on ghc-api-compat, and ghc 9.0 does not expose |
refineImports was disabled by flags for cabal (but the package was not commented out) 🤦 |
and use hackage released versions for blaze-textual and hie-bios
Now it is failing with:
I think it is due the recent release of the extra library, aiiiins |
I am afraid we cant use hlint-3.2.* and the last extra lib version (@ndmitchell set a upper bound to exclude it https://hackage.haskell.org/package/hlint-3.2.7/revision/1.cabal)
|
i know add new definitions does not suppose bump up the breaking api version following pvp but if they clash with widely used defs as |
75b589e
to
f7f0df2
Compare
@jneira - I think you're right - had I realised that extra was going to break as many things as it did, I'd have definitely made it 1.8. However, I was completely unaware in advance, and now the choice is whether to yank 1.7.10 and upload 1.8, and I suspect at that now that's just adding more hassle? But happy to be convinced otherwise. Sorry! |
no worries, it is hard to know in advance where defs are being shadowed if the lib itself does no use them |
Use hie-bios masterUse last hie-bios