diff options
author | David Waern <david.waern@gmail.com> | 2008-11-06 21:07:48 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-11-06 21:07:48 +0000 |
commit | 54766d6f5205ea578c714625fe925e43f0336899 (patch) | |
tree | 9085ece5450b5e90c85fadef8d0d480b07347922 /haddock.cabal | |
parent | 86ce4b4b535fe7ead47a4f2f1b6d142b6338b8a8 (diff) |
Depend on base 4.* when using GHC >= 6.9, otherwise 3.*
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 4 |
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 |