-
Notifications
You must be signed in to change notification settings - Fork 103
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
cabal-version is not set properly when using ^>= bounds #213
Comments
A PR would be more than welcome. |
For what it's worth, Cabal itself doesn't check for this either. If you run Edited to add: Nevermind. I was wrong. |
What we can do is parse Independent from that, I think we want some syntactic sugar for version ranges, where he lower bound is inclusive and the upper bound is exclusive. Stuff like foo: x ~ y # this desugars to ">= x && < 5" If anybody has input on this, please comment! |
Adding custom operators reminds me of #91. I don't think it's a bad idea per se, but it could get tricky if Cabal ends up using the same operator for something else. I think it would be better to lobby for the change in Cabal, then add it to hpack for users that aren't on the latest Cabal. |
When
^>=
is used, cabal-version needs to be at least 2.0. Hpack doesn't check for this, though.The text was updated successfully, but these errors were encountered: