Skip to content

Commit 2698b43

Browse files
committed
Bump cabal-version to 2.0 for autogen-modules
1 parent df99aeb commit 2698b43

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### Unreleased
2+
3+
- Bump `cabal-version` to 2.0 to support field `autogen-modules`.
4+
15
### 1.3.2.4
26

37
_2025-05-09 Andreas Abel_

regex-tdfa.cabal

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cabal-version: 1.24
1+
cabal-version: 2.0
22
name: regex-tdfa
33
version: 1.3.2.4
44

@@ -92,12 +92,14 @@ library
9292
Text.Regex.TDFA.Text
9393
Text.Regex.TDFA.Text.Lazy
9494

95+
autogen-modules: Paths_regex_tdfa
9596
other-modules: Paths_regex_tdfa
9697

9798
build-depends: array >= 0.5 && < 0.6
9899
, base >= 4.9 && < 5
99100
, bytestring >= 0.10 && < 0.13
100101
, containers >= 0.5 && < 1
102+
-- containers >= 0.5.11.0 (GHC 8.4) will allow to drop some #if
101103
, mtl >= 2.1.3 && < 2.4
102104
, parsec == 3.1.*
103105
, regex-base == 0.94.*
@@ -163,10 +165,9 @@ test-suite regex-tdfa-unittest
163165
Rank2Types
164166
other-extensions: GeneralizedNewtypeDeriving
165167

166-
ghc-options: -Wall -funbox-strict-fields
167-
168-
if impl(ghc >= 8.0)
169-
ghc-options: -Wcompat
168+
ghc-options: -funbox-strict-fields
169+
-Wall
170+
-Wcompat
170171

171172
if flag(force-O2)
172173
ghc-options: -O2

0 commit comments

Comments
 (0)