From 54766d6f5205ea578c714625fe925e43f0336899 Mon Sep 17 00:00:00 2001 From: David Waern Date: Thu, 6 Nov 2008 21:07:48 +0000 Subject: Depend on base 4.* when using GHC >= 6.9, otherwise 3.* --- haddock.cabal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haddock.cabal b/haddock.cabal index a989ba68..4e8a69b3 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -65,7 +65,6 @@ flag in-ghc-tree executable haddock build-depends: - base, haskell98, ghc >= 6.8.2 && < 6.13, filepath, @@ -82,6 +81,9 @@ executable haddock if impl(ghc >= 6.9) build-depends: Cabal >= 1.5 + build-depends: base >= 4.0.0.0 && < 5.0.0.0 + else + build-depends: base < 4.0.0.0 main-is: Main.hs hs-source-dirs: src -- cgit v1.2.3