Skip to content

Commit 6f524d6

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ 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
70+
-- ghc-9.2 pulls `ghc-heap-9.12` which is not compatible
71+
if impl(ghc < 9.4)
72+
build-depends: ghc-heap < 9.12
7173
ghc-options: -Wall
7274
-Wno-unticked-promoted-constructors
7375
-Wcompat

0 commit comments

Comments
 (0)