[Hackage] #248: Running "haddock --hyperlink-source" fails with a
"requires Haddock version 0.8 or later" message
Hackage
trac at galois.com
Wed Feb 27 05:28:26 EST 2008
#248: Running "haddock --hyperlink-source" fails with a "requires Haddock version
0.8 or later" message
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/248>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list