-
Notifications
You must be signed in to change notification settings - Fork 84
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
Support Cabal 3.0, 3.2 #312
Conversation
I was hoping this might be fixed on hackage with a revision. But looking at the Hackage Metadata Revisions FAQ it seems you can't change the Cabal spec version outside of very specific range. And even if you could, the resolver probably isn't smart enough to conclude it can't build any version of |
I'm cutting a release for |
I now suspect it won't. |
I could get cabal-3.2 to build happy by removing all |
Interesting. Can you try whether the just amended PR works? |
You missed these two: index 44381cb..209fac8 100644
--- a/lib/happy-lib.cabal
+++ b/lib/happy-lib.cabal
@@ -87,7 +87,7 @@ library frontend
Happy.Frontend.AbsSyn,
Happy.Frontend.Mangler,
Happy.Frontend.PrettyGrammar
- build-depends: base < 5, array, transformers, containers, mtl, happy-lib:grammar
+ build-depends: base < 5, array, transformers, containers, mtl, grammar
other-modules:
Happy.Frontend.ParseMonad
Happy.Frontend.ParseMonad.Class
@@ -107,7 +107,7 @@ library tabular
Happy.Tabular.Info,
Happy.Tabular.LALR,
Happy.Tabular.NameSet
- build-depends: base < 5, array, containers, happy-lib:grammar
+ build-depends: base < 5, array, containers, grammar
library backend-lalr But if you remove them too, then it works. |
Thanks! Will release 2.0.2 with the fix soon. |
Fixes #311.