diff options
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/haddock.cabal b/haddock.cabal index 49534b33..3f186299 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -78,9 +78,12 @@ flag test executable haddock default-language: Haskell2010 - build-tools: alex >= 2.3, happy >= 1.18 + -- In a GHC tree - in particular, in a source tarball - we don't + -- require alex or happy + if !flag(in-ghc-tree) + build-tools: alex >= 2.3, happy >= 1.18 build-depends: - base >= 4.3 && < 4.5, + base >= 4.3 && < 4.6, filepath, directory, pretty, @@ -88,7 +91,7 @@ executable haddock array, xhtml >= 3000.2 && < 3000.3, Cabal >= 1.10, - ghc >= 7.2 && < 7.4 + ghc >= 7.2 && < 7.6 if flag(in-ghc-tree) cpp-options: -DIN_GHC_TREE @@ -137,9 +140,12 @@ executable haddock library default-language: Haskell2010 - build-tools: alex >= 2.3, happy >= 1.18 + -- In a GHC tree - in particular, in a source tarball - we don't + -- require alex or happy + if !flag(in-ghc-tree) + build-tools: alex >= 2.3, happy >= 1.18 build-depends: - base >= 4.3 && < 4.5, + base >= 4.3 && < 4.6, filepath, directory, pretty, @@ -147,7 +153,7 @@ library array, xhtml >= 3000.2 && < 3000.3, Cabal >= 1.10, - ghc >= 7.2 && < 7.4 + ghc >= 7.2 && < 7.6 if flag(in-ghc-tree) cpp-options: -DIN_GHC_TREE |