diff --git a/CHANGELOG.md b/CHANGELOG.md index f7628c1..75322c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### Unreleased + +- Bump `cabal-version` to 2.0 to support field `autogen-modules`. + ### 1.3.2.4 _2025-05-09 Andreas Abel_ diff --git a/regex-tdfa.cabal b/regex-tdfa.cabal index 605bf3b..c5430eb 100644 --- a/regex-tdfa.cabal +++ b/regex-tdfa.cabal @@ -1,4 +1,4 @@ -cabal-version: 1.24 +cabal-version: 2.0 name: regex-tdfa version: 1.3.2.4 @@ -92,12 +92,14 @@ library Text.Regex.TDFA.Text Text.Regex.TDFA.Text.Lazy + autogen-modules: Paths_regex_tdfa other-modules: Paths_regex_tdfa build-depends: array >= 0.5 && < 0.6 , base >= 4.9 && < 5 , bytestring >= 0.10 && < 0.13 , containers >= 0.5 && < 1 + -- containers >= 0.5.11.0 (GHC 8.4) will allow to drop some #if , mtl >= 2.1.3 && < 2.4 , parsec == 3.1.* , regex-base == 0.94.* @@ -163,10 +165,9 @@ test-suite regex-tdfa-unittest Rank2Types other-extensions: GeneralizedNewtypeDeriving - ghc-options: -Wall -funbox-strict-fields - - if impl(ghc >= 8.0) - ghc-options: -Wcompat + ghc-options: -funbox-strict-fields + -Wall + -Wcompat if flag(force-O2) ghc-options: -O2