Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable --hyperlink-source for "cabal install"

Tags:

The command cabal haddock has very useful --hyperlink-source option. I would like to have the source hyperlinked when building documentation with cabal install.

The ticket #517 seems to be just about it: http://hackage.haskell.org/trac/hackage/ticket/517

However, perhaps it is possible to set this flag via ~/.cabal/config file?

If not, how can I get working cabal-install build with the patch from #517 without installing Cabal-1.9, which is currently mandatory (due to one patch from December)?

like image 381
Tener Avatar asked Mar 18 '10 19:03

Tener


1 Answers

Currently you cannot get the equivalent of the --hyperlink-source option when using the "all in one" cabal install command. The ticket you cite is exactly about this issue.

like image 170
Duncan Coutts Avatar answered Sep 29 '22 12:09

Duncan Coutts