Skip to content

Commit

Permalink
Make it unbuildable with ghc910
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed Jul 15, 2024
1 parent b3c6102 commit 61ff2fd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions cardano-streaming/cardano-streaming.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ version: 1.2.0.0
author: Andrea Bedini
maintainer: andrea.bedini@iohk.io

-- ghc910 ships with base ==4.20.0, while ouroboros-consensus binds base <4.20.0.
-- TODO remove this once ouroboros-consensus supports ghc910
common ghc-version-support
if impl(ghc >9.8)
buildable: False

common lang
default-language: Haskell2010
default-extensions:
Expand All @@ -27,7 +33,7 @@ common lang
-Wunused-packages

library
import: lang
import: lang, ghc-version-support
hs-source-dirs: src
exposed-modules:
Cardano.Streaming
Expand Down Expand Up @@ -61,7 +67,7 @@ library
, typed-protocols

executable cardano-streaming-example-1
import: lang
import: lang, ghc-version-support
hs-source-dirs: examples
main-is: Example1.hs
other-modules:
Expand Down
10 changes: 8 additions & 2 deletions plutus-script-evaluation/plutus-script-evaluation.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ cabal-version: 3.0
name: plutus-script-evaluation
version: 0.1.0.0

-- ghc910 ships with base ==4.20.0, while ouroboros-consensus binds base <4.20.0.
-- TODO remove this once ouroboros-consensus supports ghc910
common ghc-version-support
if impl(ghc >9.8)
buildable: False

common lang
default-language: Haskell2010
default-extensions:
Expand All @@ -25,7 +31,7 @@ common lang
-Wunused-packages

library
import: lang
import: lang, ghc-version-support
hs-source-dirs: lib
exposed-modules:
Plutus.Script.Evaluation.Dump
Expand All @@ -52,7 +58,7 @@ library
, transformers

executable dump-script-events
import: lang
import: lang, ghc-version-support
hs-source-dirs: exe
main-is: Main.hs
build-depends:
Expand Down

0 comments on commit 61ff2fd

Please sign in to comment.