Skip to content

Support Cabal 3.4.0.0 and GHC 9.0.x #503

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

Merged
merged 3 commits into from
Jun 11, 2021

Conversation

sternenseemann
Copy link
Member

No description provided.

finalizePD uses PackageVersionConstraint instead of dependency since
3.4.0.0 (see also haskell/cabal#5570).
This is a bit annoying since we need to do some CPP-stuff to support
both 3.2.* and 3.4.0.0, but it is a good opportunity to clean up our use
of Dependency: Since we always ignore the `LibraryName`s in `Dependency`
and it is required to be a `NonEmptySet` since 3.4.0.0, we switch to
using the simpler `PackageVersionConstraint` which doesn't care about
`LibraryName` at all (just like us).
@maralorn
Copy link
Member

LGTM

@sternenseemann sternenseemann merged commit 5bb08e9 into NixOS:master Jun 11, 2021
@sternenseemann sternenseemann deleted the ghc-9.0.x branch June 11, 2021 22:32
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

Successfully merging this pull request may close these issues.

3 participants