summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sergei Trofimovich <siarheit@google.com>2014-12-17 22:16:31 +0000
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-17 23:48:31 -0400
commitbe0ad1112355ca03ca96732b497a5fe9426af403 (patch)
tree432cf94f08db8e5b6b5f39d28ed072ef94223461
parente34cd015b8757293e3b2d41f7fde40fa52319921 (diff)
git-annex.cabal: add missing http-client depend to S3
With the following flags: $ cabal configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=git-annex-5.20141203/ghc-7.8.3.20141119 --datadir=/usr/share/ --datasubdir=git-annex-5.20141203/ghc-7.8.3.20141119 --ghc-option=-O2 --ghc-option=+RTS --ghc-option=-H64M --ghc-option=-M4G --ghc-option=-RTS --ghc-option=-O0 --ghc-option=-j4 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--hash-style=gnu --disable-executable-stripping --docdir=/usr/share/doc/git-annex-5.20141203 --verbose --sysconfdir=/etc --disable-library-stripping --flags=-android --flags=-androidsplice --flags=-assistant --flags=cryptohash --flags=dbus --flags=-desktop-notify --flags=dns --flags=-ekg --flags=-feed --flags=-inotify --flags=pairing --flags=production --flags=-quvi --flags=s3 --flags=tahoe --flags=tdfa --flags=-testsuite --flags=-webapp --flags=-webapp-secure --flags=-webdav --flags=-xmpp ghc detects missing module (used directly by Remote.S3): Remote/Helper/Http.hs:16:8: Could not find module ‘Network.HTTP.Client’ It is a member of the hidden package ‘http-client-0.3.8.2’. Perhaps you need to add ‘http-client’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
-rw-r--r--git-annex.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index f806c7b26..568374b4b 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -151,7 +151,7 @@ Executable git-annex
CPP-Options: -DWITH_CRYPTOHASH
if flag(S3)
- Build-Depends: conduit, resourcet, conduit-extra, aws (>= 0.9.2)
+ Build-Depends: conduit, resourcet, conduit-extra, aws (>= 0.9.2), http-client
CPP-Options: -DWITH_S3
if flag(WebDAV)