aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock.cabal b/haddock.cabal
index d626f3cd..5f486bd3 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -75,9 +75,10 @@ executable haddock
if flag(ghc-paths)
build-depends: ghc-paths
+ cpp-options: -DGHC_PATHS
if impl(ghc >= 6.9)
- build-depends: Cabal >= 1.5
+ build-depends: Cabal >= 1.5, getopt
main-is: Main.hs
hs-source-dirs: src