diff --git a/Cabal-syntax/Cabal-syntax.cabal b/Cabal-syntax/Cabal-syntax.cabal index 51225ae4bc103599638fb4c814dfdea32015fe0f..127021e2b190982309f9127ea8de7525e214f0eb 100644 --- a/Cabal-syntax/Cabal-syntax.cabal +++ b/Cabal-syntax/Cabal-syntax.cabal @@ -52,11 +52,9 @@ library build-depends: unix >= 2.6.0.0 && < 2.8 ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates + ghc-options: -Wcompat -Wnoncanonical-monad-instances - if impl(ghc >= 8.0) - ghc-options: -Wcompat -Wnoncanonical-monad-instances - - if impl(ghc >= 8.0) && impl(ghc < 8.8) + if impl(ghc < 8.8) ghc-options: -Wnoncanonical-monadfail-instances exposed-modules: