Skip to content

Commit

Permalink
Bah humbug, Hackage doesn't recognise Haste as a compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
nick8325 committed Jul 10, 2016
1 parent 474e37f commit f08304c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions QuickCheck.cabal
Expand Up @@ -69,7 +69,8 @@ library
else
cpp-options: -DNO_TRANSFORMERS

if impl(ghc) && flag(templateHaskell) && !impl(haste)
if impl(ghc) && flag(templateHaskell)
-- && !impl(haste)
Build-depends: template-haskell >= 2.4
Other-Extensions: TemplateHaskell
Exposed-Modules: Test.QuickCheck.All
Expand All @@ -88,7 +89,8 @@ library
cpp-options: -DNO_SAFE_HASKELL

-- Use tf-random on newer GHCs.
if impl(ghc) && !impl(haste)
if impl(ghc)
-- && !impl(haste)
Build-depends: tf-random >= 0.4
else
cpp-options: -DNO_TF_RANDOM
Expand Down Expand Up @@ -137,7 +139,8 @@ Test-Suite test-quickcheck
QuickCheck == 2.9,
template-haskell >= 2.4,
test-framework >= 0.4 && < 0.9
if flag(templateHaskell) && !impl(haste)
if flag(templateHaskell)
-- && !impl(haste)
Buildable: True
else
Buildable: False
Expand All @@ -157,7 +160,8 @@ Test-Suite test-quickcheck-generators
hs-source-dirs: tests
main-is: Generators.hs
build-depends: base, QuickCheck == 2.9
if !flag(templateHaskell) || impl(haste)
if !flag(templateHaskell)
-- || impl(haste)
Buildable: False

Test-Suite test-quickcheck-gshrink
Expand Down

0 comments on commit f08304c

Please sign in to comment.