Skip to content

Conversation

@tomjaguarpaw
Copy link
Collaborator

No description provided.

because there is the potential for lots of them in Cabal.hs
This reverts commit 728d658dd9267461b5f5b3ea542774af828c21a4.
This requires

* Bumping some dependencies

* Pinning Cabal to ^>= 3.10, because the set of exposed extensions
  increases with every cabal release so the 'extensions' library is
  not buildable with older Cabals, without missing some cases in the
  pattern match in Cabal.hs.

* Adding support for multiple new extensions
@tomjaguarpaw
Copy link
Collaborator Author

Actually, only up to 9.6, because hedgehog has not caught up with 9.8 yet.

Comment on lines +85 to +95
build-depends: bytestring >= 0.10 && < 0.13
-- We need to pin a single major version of
-- Cabal here because the main reason we use
-- Cabal is for its list of extensions. Later
-- versions have strictly more extensions, and
-- we'll have missing patterns if we try to
-- support more than one major version. If
-- this causes problems in practice let's
-- revisit this decision and come up with
-- another approach.
, Cabal ^>= 3.10
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spinned off a discussion in #111.

This hit me when trying to package extensions @ the latest for ArchLinux which is still on GHC 9.4.8 (unfortunately). I had to pin the package to 0.1.0.0.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, is there anything I need to do to support you, or is this just for information, like #111?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just informational, thanks 🙏

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