[arch-haskell] Package INSTALL scriptlets do not generate a working haddock index (gen_contents_index broken)

Magnus Therning magnus at therning.org
Mon Dec 3 12:44:10 CET 2012

On Sun, Dec 2, 2012 at 10:17 PM, Matthew Cox <matt at mattcox.ca> wrote:
> The /usr/share/doc/ghc/html/libraries/gen_contents_index script is
> broken and causes haddock to emit broken links in the resulting
> documentation index for the local ghc pkg tree. Here's the fix:
>     -        NAME_VERSION=`echo "$HADDOCK_FILE" | sed 's#/.*##'`
>     -        HADDOCK_ARG="--read-interface=${NAME_VERSION},$HADDOCK_FILE"
>     +        HADDOCK_ARG="--read-interface=$(dirname
> The eager match on sed causes it to strip all but the first component
> of the package documentation path.
> Presumably this is broken upstream and needs to be fixed by them, but
> I'd like to confirm it's not caused by us before I pester the ghc-dev
> list.

In [haskell] we make one change to that particular script:

In [extra] they make no changes to that script, as far as I can see:


Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

More information about the arch-haskell mailing list