From 08f4496327aabed67da27798fa2551fb1f1f4899 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 28 Nov 2011 12:09:16 +0200 Subject: [PATCH] Force wai-test to be installed --- yesod-core/yesod-core.cabal | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yesod-core/yesod-core.cabal b/yesod-core/yesod-core.cabal index d18c6835..14e7cfa8 100644 --- a/yesod-core/yesod-core.cabal +++ b/yesod-core/yesod-core.cabal @@ -38,6 +38,12 @@ library cpp-options: -DGHC7 else build-depends: base >= 4 && < 4.3 + + -- Work around a bug in cabal. Without this, wai-test doesn't get built and + -- we have a missing dependency during --enable-tests builds. + if flag(test) + build-depends: wai-test + build-depends: time >= 1.1.4 , wai >= 0.4 && < 0.5 , wai-extra >= 0.4.1 && < 0.5