summaryrefslogtreecommitdiff
path: root/propellor.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'propellor.cabal')
-rw-r--r--propellor.cabal6
1 files changed, 6 insertions, 0 deletions
diff --git a/propellor.cabal b/propellor.cabal
index 300313c0..71d3c578 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -35,6 +35,9 @@ Description:
.
It is configured using haskell.
+Flag WithTypeErrors
+ Description: Build with type-errors library for better error messages
+
Library
Default-Language: Haskell98
GHC-Options: -Wall -fno-warn-tabs -O0
@@ -47,6 +50,9 @@ Library
directory, filepath, IfElse, process, bytestring, hslogger, split,
unix, unix-compat, ansi-terminal, containers (>= 0.5), network, async,
time, mtl, transformers, exceptions (>= 0.6), stm, text, hashable
+ if flag(WithTypeErrors)
+ Build-Depends: type-errors
+ CPP-Options: -DWITH_TYPE_ERRORS
Exposed-Modules:
Propellor