How to expose cabal-generated installation paths?

Duncan Coutts duncan.coutts at
Tue Nov 25 15:25:24 EST 2008

On Mon, 2008-11-24 at 12:33 +0100, Peter Simons wrote:
> Hi,
> please pardon me if this question is not appropriate for this forum or
> if there is a document that answers my question already. I had no better
> idea but to ask here and I'd be happy to receive pointers into the right
> direction.
> Recently, I received a patch for the FuncMP package [1] that exposes the
> Cabal-generated "Paths_funcmp" module. It appears, however, that Cabal
> doesn't find that module when running the 'haddock' target:
>  | Creating dist/doc/html/funcmp (and its parents)
>  | Preprocessing library funcmp-1.2...
>  | Running hscolour for funcmp-1.2...
>  | Creating dist/doc/html/funcmp/src (and its parents)
>  | /usr/local/bin/HsColour -print-css -odist/doc/html/funcmp/src/hscolour.css
>  | cabal-setup: can't find source for module Paths_funcmp
> The complete log is available at [2].
> Does anyone know, by any chance, a simple way to remedy that problem?

Do cabal build first.

It's filed as ticket:

It should not be hard to fix if you're looking for a task to get started
in Cabal hacking.


More information about the Libraries mailing list