-
Notifications
You must be signed in to change notification settings - Fork 10
Compile with Cabal-3.0 #13
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
Conversation
Revision checking doesn't work correctly if there are public multi-lib dependencies.
d6dc3fe
to
d504638
Compare
@@ -89,17 +89,17 @@ executable hackage-cli | |||
, filepath ^>= 1.4.0.0 | |||
, http-io-streams ^>= 0.1.0.0 | |||
, io-streams ^>= 1.5.0.1 | |||
, lens ^>= 4.17 | |||
, lens ^>= 4.17 || ^>=4.18 |
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.
fwiw, I'd be fine to support only a single major version (for libraries not bundled w/ GHC); this is an exe after all
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'll keep in mind that for the future
What is preventing this from being merged? |
Mostly a reasonably careful code-review... ;-) |
@@ -442,28 +454,30 @@ checkDependencies componentName ds1 ds2 = do | |||
|
|||
depKind = depTypeName dproxy ++ " dependency" | |||
|
|||
class (Ord (DepKey d)) => IsDependency d where | |||
class (Ord (DepKey d), Pretty vr, Eq vr) => IsDependency vr d | d -> vr where |
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.
Out of curiosity, why a functional dependency here where DepKey
is an associated type?
We should backport what's in |
@phadej, would you have a pointer to what we should port from |
After some hints from @hvr, I discovered that this PR was created by copying over |
Updated in |
Revision checking doesn't work correctly if there are public multi-lib dependencies.