summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-14 14:14:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-14 14:14:44 -0400
commitdb5dd896f37700a9acc59dae76da45d60ec59821 (patch)
treeab9406288ca39b89883bfc20696dec62164bab86
parentbb5178557d8563608be7e9e04a4916fd2048d176 (diff)
bring back custom-setup stanza
Now that windows is using unix-compat 0.5, don't need a dep on Win32 or unix in custom-setup, so the stanza can be parsed by cabal's limited parser again. Note that unix-compat 0.5 is needed on windows, but the cabal file hasn't bumped it yet, since that would necessarily affect non-windows builds. Instead, the stack-windows.yaml makes sure the right version is pulled in. This commit was sponsored by Jeff Goeke-Smith on Patreon.
-rw-r--r--git-annex.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 0d3681aa5..7cf23f9b6 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -303,6 +303,10 @@ source-repository head
type: git
location: git://git-annex.branchable.com/
+custom-setup
+ Setup-Depends: base (>= 4.5), hslogger, split, unix-compat, process,
+ filepath, exceptions, bytestring, directory, IfElse, data-default, Cabal
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: