[Conal Elliott] Re: getting cabal to pass more info to haddock

Ross Paterson ross at soi.city.ac.uk
Mon Feb 19 19:02:52 EST 2007

On Mon, Feb 19, 2007 at 05:36:58PM +0000, Ross Paterson wrote:
> For HackageDB, I think the appropriate thing would be for Cabal to use
> ghc-pkg to get the haddock-interfaces field (instead of asking haddock to
> ask ghc-pkg for it), but for the user to be able to override the HTML URL
> at configure time.

Another reason for Cabal to call ghc-pkg instead of asking haddock to
is to ensure that it is the same ghc-pkg that we specified to Cabal,
rather than the one haddock plucks out of the environment.

More information about the cabal-devel mailing list