Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ghc 9.12 #207

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 0 additions & 1 deletion io-classes/src/Control/Monad/Class/MonadSTM/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,6 @@ unGetTBQueueDefault (TBQueue rsize read wsize _write _size) a = do
-- | Default implementation of 'TArray'.
--
data TArrayDefault m i e = TArray (Array i (TVar m e))
deriving Typeable

deriving instance (Eq (TVar m e), Ix i) => Eq (TArrayDefault m i e)

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
Loading