summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 11:29:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 11:29:27 -0400
commit98a2b312fd0297dcb09f6efdc3bd2e3b05b6dfc0 (patch)
tree07a855f6bdad27590074b70dc2f7519326536288 /git-annex.cabal
parent96e893d718dc6bad7b2abdefce886694f986c367 (diff)
switch from homegrown code to disk-free-space
According to https://github.com/redneb/disk-free-space/issues/3 , disk-free-space should be at least as portable as my homegrown code was. One change I noticed is, getDiskSize was not implemented for windows in the old code, and should work now.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 4edbd21c3..8e6efbf59 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