summaryrefslogtreecommitdiff
path: root/propellor.cabal
diff options
context:
space:
mode:
authorJoey Hess2016-05-01 17:51:34 -0400
committerJoey Hess2016-05-01 17:51:34 -0400
commit6f958a6acb90779dcbc3e96acbddcfc62b3f3b48 (patch)
tree7c57e40e6366ac27726c2a83d9f6dd6467c6599e /propellor.cabal
parentce5b62a5bbba51dbf18087646e271ccf06dc55e1 (diff)
Remove Propellor.DotDir from the propellor library, as its use of Paths_propellor prevents use of the module out of propellor's tree.
Failure looked like: /home/lukas/.propellor/.cabal-sandbox/lib/x86_64-linux-ghc-7.10.3/propellor-3.0. 1-0JokOieT9kY9W7enKSzFHh/libHSpropellor-3.0.1-0JokOieT9kY9W7enKSzFHh.a(DotDir.o) :(.text+0x591): undefined reference to `propezu0JokOieT9kY9W7enKSzzFHh_Pathszupropellor_getLibDir_closure' This module is only needed for the wrapper program anyway, which handles --init. This does mean that ./propellor --init in propellor's tree will fail even though the help shows --init as an option.
Diffstat (limited to 'propellor.cabal')
-rw-r--r--propellor.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/propellor.cabal b/propellor.cabal
index 78a14c5e..0bc8fc21 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -47,6 +47,8 @@ Executable propellor
MissingH, directory, filepath, IfElse, process, bytestring, hslogger,
unix, unix-compat, ansi-terminal, containers (>= 0.5), network, async,
time, mtl, transformers, exceptions (>= 0.6), stm, text
+ Other-Modules:
+ Propellor.DotDir
Executable propellor-config
Main-Is: config.hs
@@ -152,7 +154,6 @@ Library
Propellor.Info
Propellor.Message
Propellor.Debug
- Propellor.DotDir
Propellor.PrivData
Propellor.Engine
Propellor.EnsureProperty