Skip to content

Commit

Permalink
Bump Cabal and Cabal-syntax to allow 3.12
Browse files Browse the repository at this point in the history
I have tested the change by building `all` against `Cabal` and
`Cabal-syntax` 3.12.
  • Loading branch information
ffaf1 committed Mar 18, 2024
1 parent 1066cab commit ab53d25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example-client/example-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ executable example-client
build-depends: network >= 2.5 && < 2.6

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.12
build-depends: Cabal-syntax >= 3.7 && < 3.14
else
build-depends: Cabal >= 2.2.0.1 && < 3.7,
Cabal-syntax < 3.7
2 changes: 1 addition & 1 deletion hackage-repo-tool/hackage-repo-tool.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ executable hackage-repo-tool
build-depends: network >= 2.5 && < 2.6

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.12
build-depends: Cabal-syntax >= 3.7 && < 3.14
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down
6 changes: 3 additions & 3 deletions hackage-security/hackage-security.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ library
build-depends: base >= 4.11

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.12
build-depends: Cabal-syntax >= 3.7 && < 3.14
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down Expand Up @@ -240,8 +240,8 @@ test-suite TestSuite
zlib

if flag(Cabal-syntax)
build-depends: Cabal >= 3.7 && < 3.12,
Cabal-syntax >= 3.7 && < 3.12
build-depends: Cabal >= 3.7 && < 3.14,
Cabal-syntax >= 3.7 && < 3.14
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down

0 comments on commit ab53d25

Please sign in to comment.