summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal12
1 files changed, 5 insertions, 7 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index f36902f8f..dcb038d93 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -111,7 +111,8 @@ Executable git-annex
esqueleto, persistent-sqlite, persistent, persistent-template,
aeson,
feed,
- regex-tdfa
+ regex-tdfa,
+ disk-free-space
CC-Options: -Wall
GHC-Options: -Wall -fno-warn-tabs
Extensions: PackageImports
@@ -143,11 +144,8 @@ Executable git-annex
process (>= 1.3.0.0)
else
Build-Depends: unix
- -- Need to list these because they're generated from .hsc files.
- Other-Modules: Utility.Touch Utility.Mounts
- Include-Dirs: Utility
- C-Sources: Utility/libdiskfree.c Utility/libmounts.c
- CPP-Options: -DWITH_CLIBS
+ if impl(ghc <= 7.6.3)
+ Other-Modules: Utility.Touch.Old
if flag(TestSuite)
Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun,
@@ -163,7 +161,7 @@ Executable git-annex
CPP-Options: -DWITH_WEBDAV
if flag(Assistant) && ! os(solaris)
- Build-Depends: dns
+ Build-Depends: dns, mountpoints
CPP-Options: -DWITH_ASSISTANT
if flag(Assistant)