aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-12-31 16:08:31 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-12-31 16:36:39 -0400
commit8f3134e5408ea1ea6207028ae17f2b5fb84e0c65 (patch)
tree99739954cd6b8a3c229a230f005d69f6ed74fb8c /git-annex.cabal
parent6f83a6c8f45d7aa325d315654c4fd28de9feb4a6 (diff)
finally really add back custom-setup stanza
Fourth or fifth try at this and finally found a way to make it work. Absurd amount of busy-work forced on me by change in cabal's behavior. Split up Utility modules that need posix stuff out of ones used by Setup. Various other hacks around inability for Setup to use anything that ifdefs a use of unix. Probably lost a full day of my life to this. This is how build systems make their users hate them. Just saying.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal11
1 files changed, 11 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 6b2fec439..987894c01 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -302,6 +302,11 @@ source-repository head
type: git
location: git://git-annex.branchable.com/
+custom-setup
+ Setup-Depends: base (>= 4.6), hslogger, split, unix-compat, process,
+ filepath, exceptions, bytestring, directory, IfElse, data-default,
+ utf8-string, Cabal
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends:
@@ -987,10 +992,13 @@ Executable git-annex
Utility.DirWatcher
Utility.DirWatcher.Types
Utility.Directory
+ Utility.Directory.Stream
Utility.DiskFree
Utility.Dot
Utility.DottedVersion
Utility.Env
+ Utility.Env.Basic
+ Utility.Env.Set
Utility.Exception
Utility.ExternalSHA
Utility.FileMode
@@ -1029,9 +1037,11 @@ Executable git-annex
Utility.Parallel
Utility.PartialPrelude
Utility.Path
+ Utility.Path.Max
Utility.Percentage
Utility.Process
Utility.Process.Shim
+ Utility.Process.Transcript
Utility.QuickCheck
Utility.Rsync
Utility.SRV
@@ -1050,6 +1060,7 @@ Executable git-annex
Utility.ThreadLock
Utility.ThreadScheduler
Utility.Tmp
+ Utility.Tmp.Dir
Utility.Tor
Utility.Touch
Utility.Tuple