aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/haddock-library.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-library/haddock-library.cabal')
-rw-r--r--haddock-library/haddock-library.cabal6
1 files changed, 6 insertions, 0 deletions
diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal
index 3b11761e..9b967c00 100644
--- a/haddock-library/haddock-library.cabal
+++ b/haddock-library/haddock-library.cabal
@@ -50,6 +50,12 @@ library
Data.Attoparsec.Number
Documentation.Haddock.Parser.Util
+ ghc-options: -Wall
+ if impl(ghc >= 8.0)
+ ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
+ else
+ build-depends: semigroups ^>= 0.18.3, fail ^>= 4.9.0.0
+
test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010