[commit: packages/time] format-widths: test: prevent building unix on Windows (1e3893c)
git at git.haskell.org
git at git.haskell.org
Mon Feb 20 21:20:37 UTC 2017
Repository : ssh://git@git.haskell.org/time
On branch : format-widths
Link : http://git.haskell.org/packages/time.git/commitdiff/1e3893c71658c631babe768d75dbe849727d154c
>---------------------------------------------------------------
commit 1e3893c71658c631babe768d75dbe849727d154c
Author: Ashley Yakeley <ashley at yakeley.org>
Date: Sat Feb 4 02:59:21 2017 -0800
test: prevent building unix on Windows
>---------------------------------------------------------------
1e3893c71658c631babe768d75dbe849727d154c
time.cabal | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/time.cabal b/time.cabal
index f33380e..6fb2731 100644
--- a/time.cabal
+++ b/time.cabal
@@ -180,11 +180,12 @@ test-suite test-unix
base,
deepseq,
time,
- unix,
QuickCheck,
tasty,
tasty-hunit,
tasty-quickcheck
+ if !os(windows)
+ build-depends: unix
main-is: Main.hs
other-modules:
Test.TestUtil
More information about the ghc-commits
mailing list