Ticket #248 (closed defect: fixed)
Running "haddock --hyperlink-source" fails with a "requires Haddock version 0.8 or later" message
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.2.3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | normal | |
| GHC Version: | 6.8.2 | Platform: |
Description
Hello,
when running something like:
runhaskell Setup.lhs haddock --hyperlink-source --hscolour-css=/usr/local/share/hscolour-1.9/hscolour.css
Cabal fails with: Setup.lhs: haddock --hyperlink-source requires Haddock version 0.8 or later
This seems to be the involved code (from Distribution.Simple.Haddock (line 148):
when (hsColour && not have_src_hyperlink_flags) $
die "haddock --hyperlink-source requires Haddock version 0.8 or later"
Cabal 1.2.3.0 (with ghc-6.8.2) and Haddock 2.0.0.0.
Cheers, Andrea Rossato

