avoid build depending on unix in windows

This commit is contained in:
Joey Hess 2013-05-10 15:37:38 -05:00
parent 07b0bf4cee
commit e5f1ca7b4b

View file

@ -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