From 9f49c20668e155db4855bc2f2a46898925449ce3 Mon Sep 17 00:00:00 2001 From: Nicholas Clarke Date: Fri, 27 Nov 2020 15:25:03 +0100 Subject: [PATCH] Make Alonzo non-buildable in older GHC versions. By the time we release Alonzo, we expect to have dropped support for older GHC versions. This allows us to keep the 8.6.5 CI while ignoring this package in that case. --- alonzo/impl/cardano-ledger-alonzo.cabal | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alonzo/impl/cardano-ledger-alonzo.cabal b/alonzo/impl/cardano-ledger-alonzo.cabal index 2e2ddbb4b71..893ec4ee608 100644 --- a/alonzo/impl/cardano-ledger-alonzo.cabal +++ b/alonzo/impl/cardano-ledger-alonzo.cabal @@ -15,6 +15,10 @@ category: Network build-type: Simple library + -- We make use of features requiring ghc >= 8.10. In order to allow CI to + -- still build the 'all' component, simply make this non-buildable. + if impl(ghc < 8.10) + buildable: False exposed-modules: Cardano.Ledger.Alonzo build-depends: