summaryrefslogtreecommitdiff
path: root/propellor.cabal
diff options
context:
space:
mode:
authorJoey Hess2015-10-28 14:46:17 -0400
committerJoey Hess2015-10-28 14:46:17 -0400
commit111ea88d4d7c54e9ab7950962ad22528d54dd959 (patch)
tree69053673ab24be9eb61f0ce87c23d2d84b108ae7 /propellor.cabal
parent68dbfe1b08c9cf1d976ac84ea53817c54fcd3479 (diff)
fix bad MVar use, use STM
I had 2 MVars both involved in the same lock, and it seemed intractable to avoid deadlocks with them. STM makes it easy. At this point, the concurrent process stuff seems to work pretty well, but I'm not 100% sure it's not got some bugs.
Diffstat (limited to 'propellor.cabal')
-rw-r--r--propellor.cabal6
1 files changed, 3 insertions, 3 deletions
diff --git a/propellor.cabal b/propellor.cabal
index 20e82407..da43775f 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -39,7 +39,7 @@ Executable propellor
Build-Depends: MissingH, directory, filepath, base >= 4.5, base < 5,
IfElse, process, bytestring, hslogger, unix-compat, ansi-terminal,
containers (>= 0.5), network, async, time, QuickCheck, mtl, transformers,
- exceptions (>= 0.6)
+ exceptions (>= 0.6), stm
if (! os(windows))
Build-Depends: unix
@@ -51,7 +51,7 @@ Executable propellor-config
Build-Depends: MissingH, directory, filepath, base >= 4.5, base < 5,
IfElse, process, bytestring, hslogger, unix-compat, ansi-terminal,
containers (>= 0.5), network, async, time, QuickCheck, mtl, transformers,
- exceptions
+ exceptions, stm
if (! os(windows))
Build-Depends: unix
@@ -62,7 +62,7 @@ Library
Build-Depends: MissingH, directory, filepath, base >= 4.5, base < 5,
IfElse, process, bytestring, hslogger, unix-compat, ansi-terminal,
containers (>= 0.5), network, async, time, QuickCheck, mtl, transformers,
- exceptions
+ exceptions, stm
if (! os(windows))
Build-Depends: unix