summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 12:21:35 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 12:21:35 -0400
commit8c2001efb20dfe68d91e8163722f7d45a0b8d53e (patch)
tree65b0a8b5deb319657adc27968e4d0ef601a7ce56 /git-annex.cabal
parent27bb75f655fcbd4ed883329615dac0371e93989f (diff)
git-annex.cabal: Make crypto-api a dependency even when built w/o webapp and test suite.
The p2p code made it always be needed. This commit was sponsored by Anthony DeRobertis on Patreon.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal7
1 files changed, 3 insertions, 4 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 75ce82943..c394693cf 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -361,7 +361,8 @@ Executable git-annex
socks,
byteable,
stm-chans,
- securemem
+ securemem,
+ crypto-api
CC-Options: -Wall
GHC-Options: -Wall -fno-warn-tabs
Extensions: PackageImports
@@ -397,8 +398,7 @@ Executable git-annex
Other-Modules: Utility.Touch.Old
if flag(TestSuite)
- Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun,
- crypto-api
+ Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun
CPP-Options: -DWITH_TESTSUITE
if flag(S3)
@@ -461,7 +461,6 @@ Executable git-annex
wai,
wai-extra,
blaze-builder,
- crypto-api,
clientsession,
template-haskell,
shakespeare (>= 2.0.0)