From 3aee719130a089689e6efb32c91bee32bb23bf77 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 11 Apr 2018 12:31:11 +0200 Subject: [PATCH] Make "unbuildable on windows" explicit --- hpath.cabal | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hpath.cabal b/hpath.cabal index 7347ea3..a8ab087 100644 --- a/hpath.cabal +++ b/hpath.cabal @@ -17,6 +17,9 @@ extra-source-files: README.md doctests-posix.hs library + if os(windows) + build-depends: unbuildable<0 + buildable: False hs-source-dirs: src/ default-language: Haskell2010 if impl(ghc >= 8.0) @@ -46,6 +49,9 @@ library test-suite doctests-hpath + if os(windows) + build-depends: unbuildable<0 + buildable: False default-language: Haskell2010 type: exitcode-stdio-1.0 ghc-options: -threaded @@ -57,6 +63,9 @@ test-suite doctests-hpath , hpath test-suite doctests-posix + if os(windows) + build-depends: unbuildable<0 + buildable: False default-language: Haskell2010 type: exitcode-stdio-1.0 ghc-options: -threaded @@ -70,6 +79,9 @@ test-suite doctests-posix QuickCheck test-suite spec + if os(windows) + build-depends: unbuildable<0 + buildable: False Type: exitcode-stdio-1.0 Default-Language: Haskell2010 Hs-Source-Dirs: test