Cabal and Haddock

Adrian Hey ahey at iee.org
Sun Jun 10 03:13:43 EDT 2007


Roberto Zunino wrote:
> Adrian Hey wrote:
>> It's looking for base.haddock (presumably) under
>>  C:/ghc/ghc-6.6.1\html\libraries\base
>> but it's actually at..
>>  C:/ghc/ghc-6.6.1\doc\html\libraries\base
> 
> This may be related to this Fedora bug:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237398
> 
> Probably your cabal package.conf has the wrong paths.

Thanks Roberto. If I do the "ghc-pkg describe base" thing it does
seem to have the wrong haddock paths with the current Windows build.
I guess this must be where Cabal gets it's info from.

I did try moving the whole html dir up one level (so it's where
the paths say it should be AFAICS) but it still doesn't work. So
it looks like there's something else going wrong here too.

BTW, does anyone know if are there any plans to include something
like haddock-options: in Cabal? There are other things I'd like
to do with it (like get it to link to the source code).

Regards
--
Adrian Hey




More information about the Libraries mailing list