Skip to content

Commit 2ae299a

Browse files
committed
typed-protocols-examples: fixed ghc-9.2 build plan
1 parent 93a2b34 commit 2ae299a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cabal.project

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ if impl (ghc >= 9.12)
3030
, cborg:ghc-prim
3131
, serialise:base
3232
, serialise:ghc-prim
33+
34+
-- ghc-9.2 pulls `ghc-heap-9.12` which is not compatible
35+
if impl(ghc < 9.4)
36+
constraints: ghc-heap < 9.12

typed-protocols-examples/typed-protocols-examples.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ library
6464
time,
6565
typed-protocols ^>= 0.4,
6666
typed-protocols-cborg,
67-
typed-protocols-stateful
68-
67+
typed-protocols-stateful,
6968
hs-source-dirs: src
7069
default-language: Haskell2010
7170
ghc-options: -Wall

0 commit comments

Comments
 (0)