
cabal haddock -–hyperlink-source installs documentation with links to source code, which also be on by defualt. cabal install –haddock-options=–hyperlink source does not install hyperlinked source. cabal install –haddock-options=-–hyperlink sourceblehblehbleh doesn’t throw an error, which suggests to me that the first command might also be passing the flags with an error. Whatever the case, seems to me the examples section in cabal --help should really include examples using --with-PROG and --PROG-options. I can't find a good one online. fwiw, cabal install --haddock-option=hyperlink-source DID generate an error in the output: target `hyperlink-source' is not a module name or a source file also, blogged about this here: http://blog.patch-tag.com/2009/10/23/cabal-install-a-package-with-documentat...