aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-11-06 21:07:48 +0000
committerDavid Waern <david.waern@gmail.com>2008-11-06 21:07:48 +0000
commit54766d6f5205ea578c714625fe925e43f0336899 (patch)
tree9085ece5450b5e90c85fadef8d0d480b07347922
parent86ce4b4b535fe7ead47a4f2f1b6d142b6338b8a8 (diff)
Depend on base 4.* when using GHC >= 6.9, otherwise 3.*
-rw-r--r--haddock.cabal4
1 files changed, 3 insertions, 1 deletions
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