aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal12
1 files changed, 6 insertions, 6 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 2c102bc0..c4e33ad6 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -62,14 +62,14 @@ executable haddock
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: driver
-
if flag(dev)
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs
else
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
-
+ if !flag(in-ghc-tree)
+ build-tools: alex >= 2.3, happy >= 1.18
build-depends:
- base >= 4.3 && < 4.7
+ base >= 4.3 && < 4.8
if flag(in-ghc-tree)
hs-source-dirs: src
cpp-options: -DIN_GHC_TREE
@@ -81,7 +81,7 @@ executable haddock
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc == 7.6.*
+ ghc >= 7.4 && < 7.8
other-modules:
Documentation.Haddock
Haddock
@@ -123,7 +123,7 @@ library
if !flag(in-ghc-tree)
build-tools: alex >= 2.3, happy >= 1.18
build-depends:
- base >= 4.3 && < 4.7,
+ base >= 4.3 && < 4.8,
filepath,
directory,
containers,
@@ -131,7 +131,7 @@ library
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc == 7.6.*
+ ghc >= 7.4 && < 7.8
if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE