Skip to content

Commit

Permalink
Support ghc 9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Dec 4, 2024
1 parent 94dfee5 commit d76bf33
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,17 @@ package hedgehog-quickcheck
ghc-options: -Wall -Werror
package hedgehog-test-laws
ghc-options: -Wall -Werror

if impl(ghc >= 9.12)
allow-newer:
, assoc:base
, bifunctors:template-haskell
, boring:base
, hashable:base
, indexed-traversable:base
, splitmix:base
, th-abstraction:template-haskell
, time:template-haskell
, transformers:base
, unordered-containers:template-haskell
, vector-stream:ghc-prim
4 changes: 2 additions & 2 deletions hedgehog-example/hedgehog-example.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ library
, containers >= 0.4 && < 0.8
, directory >= 1.0 && < 1.4
, filepath >= 1.3 && < 1.6
, hashtables >= 1.2 && < 1.4
, hashtables >= 1.2 && < 1.5
, lifted-base >= 0.2 && < 0.3
, mmorph >= 1.0 && < 1.3
, mtl >= 2.1 && < 2.4
Expand All @@ -66,7 +66,7 @@ library
, process >= 1.2 && < 1.7
, QuickCheck >= 2.7 && < 2.16
, resourcet >= 1.1 && < 1.4
, template-haskell >= 2.10 && < 2.23
, template-haskell >= 2.10 && < 2.24
, temporary >= 1.3 && < 1.4
, temporary-resourcet >= 0.1 && < 0.2
, text >= 1.1 && < 2.2
Expand Down
2 changes: 1 addition & 1 deletion hedgehog/hedgehog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ library
, resourcet >= 1.1 && < 1.4
, safe-exceptions >= 0.1 && < 0.2
, stm >= 2.4 && < 2.6
, template-haskell >= 2.10 && < 2.23
, template-haskell >= 2.10 && < 2.24
, text >= 1.1 && < 2.2
, time >= 1.4 && < 1.15
, transformers >= 0.5 && < 0.7
Expand Down

0 comments on commit d76bf33

Please sign in to comment.