summaryrefslogtreecommitdiff
path: root/propellor.cabal
diff options
context:
space:
mode:
authorJoey Hess2016-11-11 17:40:32 -0400
committerJoey Hess2016-11-11 17:42:43 -0400
commitb1038365960693a013d7026f25d026a1fd098062 (patch)
tree296d7e4f59dbe1974750ef9eecfade3e286fb82c /propellor.cabal
parentc0d0e57257fe8dee1f9d37a6d49b6322af985a69 (diff)
turn off redundant constraints warnings in cabal file
ghc 7 does not support -fno-warn-redundant-constraints so this can't be done on a per-module basis. It would be good to revert this commit when dropping support for ghc 7.
Diffstat (limited to 'propellor.cabal')
-rw-r--r--propellor.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/propellor.cabal b/propellor.cabal
index 7d145024..db70942a 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -63,6 +63,8 @@ Executable propellor-config
Library
GHC-Options: -Wall -fno-warn-tabs -O0
+ if impl(ghc >= 8.0)
+ GHC-Options: -fno-warn-redundant-constraints
Extensions: TypeOperators
Hs-Source-Dirs: src
Build-Depends: