diff --git a/cardano-api/cardano-api.cabal b/cardano-api/cardano-api.cabal index 9080ffca3d..2b9de8e739 100644 --- a/cardano-api/cardano-api.cabal +++ b/cardano-api/cardano-api.cabal @@ -29,6 +29,9 @@ common project-config -Wredundant-constraints -Wunused-packages + if impl(ghc < 9) + ghc-options: -Wno-incomplete-patterns + common maybe-unix if !os(windows) build-depends: unix