tags 779986 + upstream
forwarded 779986 https://github.com/haskell/haddock/issues/130
reassign 779986 haddock
thanks

On Sun, Mar 08, 2015 at 04:11:03PM +0100, Joachim Breitner wrote:
> It does not occur on
> https://downloads.haskell.org/~ghc/7.6.3/docs/html/libraries/
> so maybe it is just a matter of how the index generation is invoked;
> maybe the order of packages matters.

Indeed it was the order of the packages. The index is generated by the perl
script at /usr/lib/ghc-doc/gen_contents_index using as input the result of
"ghc-pkg dump --global". In the output of that command, "haskell2010"
appears first than "base".

I've made a test by modifying the script for making it read the list from a
local file where I changed the order of the packages. The generated index
now links to System.IO of the base package.

There is an issue on github that tracks this problem:
  https://github.com/haskell/haddock/issues/130

Cheers,
Rul

Attachment: signature.asc
Description: Digital signature

Reply via email to