Skip to content

Commit 21c0d33

Browse files
authored
Support GHC 9.12.1 (Cabal only) (#2649)
1 parent 4c8f997 commit 21c0d33

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

cabal.project

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ if impl(ghc < 9.8)
1313
packages:
1414
./dhall-nix
1515
./dhall-nixpkgs
16+
17+
if impl(ghc >= 9.12)
18+
allow-newer: repline:containers

dhall/dhall.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Common common
245245
repline >= 0.4.0.0 && < 0.5 ,
246246
serialise >= 0.2.0.0 && < 0.3 ,
247247
scientific >= 0.3.0.0 && < 0.4 ,
248-
template-haskell >= 2.13.0.0 && < 2.23,
248+
template-haskell >= 2.13.0.0 && < 2.24,
249249
text >= 0.11.1.0 && < 2.2 ,
250250
text-manipulate >= 0.2.0.1 && < 0.4 ,
251251
text-short >= 0.1 && < 0.2 ,

dhall/src/Dhall/Syntax/Instances/Lift.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import qualified Data.Fixed as Fixed
2121
#endif
2222
import qualified Data.Time as Time
2323

24+
#if !MIN_VERSION_time(1,14,0)
2425
deriving instance Lift Time.Day
26+
#endif
2527
deriving instance Lift Time.TimeOfDay
2628
deriving instance Lift Time.TimeZone
2729
#if !MIN_VERSION_template_haskell(2,21,0)

0 commit comments

Comments
 (0)