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 d97d4096..3431d410 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -34,6 +34,10 @@ Description:
.
It is configured using haskell.
+Flag UseStack
+ Description: Have propellor rebuild itself using Stack (default is Cabal)
+ Default: False
+
Executable propellor
Main-Is: wrapper.hs
GHC-Options: -threaded -Wall -fno-warn-tabs -O0
@@ -46,6 +50,8 @@ Executable propellor
unix, unix-compat, ansi-terminal, containers (>= 0.5), network, async,
time, mtl, transformers, exceptions (>= 0.6), stm, text,
concurrent-output
+ if flag(UseStack)
+ CPP-Options: -DUSE_STACK
Executable propellor-config
Main-Is: config.hs