Skip to content

Commit

Permalink
Support ghc 9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd authored and coot committed Jan 15, 2025
1 parent aef52d3 commit d85f7f8
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
14 changes: 13 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index-state: hackage.haskell.org 2024-05-17T03:42:00Z
index-state: hackage.haskell.org 2025-01-14T02:09:49Z

packages: ./io-sim
./io-classes
Expand All @@ -15,3 +15,15 @@ package io-classes

package strict-stm
flags: +asserts

if impl (ghc >= 9.12)
allow-newer:
-- Stuck on `cabal-3.14` issues and recalcitrant maintainers
-- https://github.com/haskell/aeson/issues/1124
, aeson:ghc-prim
, aeson:template-haskell

-- Fix blocked by aeson
-- https://github.com/haskellari/microstache/issues/43
, microstache:base

2 changes: 1 addition & 1 deletion io-classes-mtl/io-classes-mtl.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ library
, Control.Monad.Class.MonadTime.SI.Trans
, Control.Monad.Class.MonadTimer.Trans
, Control.Monad.Class.MonadTimer.SI.Trans
build-depends: base >=4.9 && <4.21,
build-depends: base >=4.9 && <4.22,
array,
mtl,

Expand Down
2 changes: 1 addition & 1 deletion io-classes/io-classes.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ library
TypeFamilyDependencies
TypeOperators
UndecidableInstances
build-depends: base >=4.9 && <4.21,
build-depends: base >=4.9 && <4.22,
array,
async >=2.1,
bytestring,
Expand Down
2 changes: 1 addition & 1 deletion io-sim/io-sim.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ library
RankNTypes,
ScopedTypeVariables,
TypeFamilies
build-depends: base >=4.9 && <4.21,
build-depends: base >=4.9 && <4.22,
io-classes ^>=1.5,
exceptions >=0.10,
containers,
Expand Down
2 changes: 1 addition & 1 deletion si-timers/si-timers.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ library
NumericUnderscores,
ScopedTypeVariables,
TypeFamilies
build-depends: base >=4.9 && <4.21,
build-depends: base >=4.9 && <4.22,
deepseq,
mtl,
nothunks,
Expand Down
2 changes: 1 addition & 1 deletion strict-mvar/strict-mvar.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ library
exposed-modules: Control.Concurrent.Class.MonadMVar.Strict
default-language: Haskell2010
default-extensions: ImportQualifiedPost
build-depends: base >= 4.9 && <4.21,
build-depends: base >= 4.9 && <4.22,
io-classes ^>= 1.5
ghc-options: -Wall
-Wno-unticked-promoted-constructors
Expand Down
2 changes: 1 addition & 1 deletion strict-stm/strict-stm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ library
reexported-modules: Control.Concurrent.Class.MonadSTM.TSem as Control.Concurrent.Class.MonadSTM.Strict.TSem
default-language: Haskell2010
default-extensions: ImportQualifiedPost
build-depends: base >=4.9 && <4.21,
build-depends: base >=4.9 && <4.22,
array,
stm >=2.5 && <2.6,

Expand Down

0 comments on commit d85f7f8

Please sign in to comment.