diff options
author | 2013-05-10 15:37:38 -0500 | |
---|---|---|
committer | 2013-05-10 15:37:38 -0500 | |
commit | 812f7d6c564e297b67850f2aa4751141a8f68e99 (patch) | |
tree | 0622c00e203bcb9c03fb1933ce5e22eb667b66ef | |
parent | ccce4b0ded18c6eecea5d666f38f55a4fc6a1977 (diff) |
avoid build depending on unix in windows
-rw-r--r-- | git-annex.cabal | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index d14e30cf7..f86d403b8 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -68,7 +68,7 @@ Flag TDFA Executable git-annex Main-Is: git-annex.hs Build-Depends: MissingH, hslogger, directory, filepath, - unix, containers, utf8-string, network (>= 2.0), mtl (>= 2), + containers, utf8-string, network (>= 2.0), mtl (>= 2), bytestring, old-locale, time, HTTP, extensible-exceptions, dataenc, SHA, process, json, base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base, @@ -88,6 +88,8 @@ Executable git-annex if os(windows) CPP-Options: -D__WINDOWS__ + else + Build-Depends: unix if flag(TestSuite) Build-Depends: HUnit |