Skip to content
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

ihp-hsx cannot be used with GHC 9.2.x #1499

Closed
billksun opened this issue Aug 30, 2022 · 2 comments
Closed

ihp-hsx cannot be used with GHC 9.2.x #1499

billksun opened this issue Aug 30, 2022 · 2 comments

Comments

@billksun
Copy link
Contributor

billksun commented Aug 30, 2022

The ihp-hsx package dependency constrains base to >=4.1 && <=4.16, but GHC 9.2.x ships with base 4.16.1 (I'm guessing GHC 9.2.x requires at least base 4.16.1?), this causes issues with cabal projects using GHC 9.2.x

Relevant cabal output:

cabal: Could not resolve dependencies:
...
[__2] rejecting: base-4.16.3.0/installed-4.16.3.0 (conflict: ihp-hsx =>
base>=4.1 && <=4.16)
[__2] skipping: base-4.17.0.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0,
base-4.16.0.0 (has the same characteristics that caused the previous version
to fail: excluded by constraint '>=4.1 && <=4.16' from 'ihp-hsx')
[__2] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
mpscholten added a commit that referenced this issue Aug 31, 2022
@mpscholten
Copy link
Member

Thanks for reporting! I've rerun cabal gen-bounds. Can you give this a try #1500 ?

@billksun
Copy link
Contributor Author

@mpscholten Compile works! But I've made some comments in the PR on some things that seems odd to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants