Building haddock when accessing data files from package code

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Nov 28 10:37:45 EST 2008


On Fri, 2008-11-28 at 14:25 +0000, Hugo Pacheco wrote:
> I don't know if I got the ideia.
> I have always built before and always got the error:
> 
> 
> $ runhaskell Setup.lhs configure
> $ runhaskell Setup.lhs build
> $ runhaskell Setup.lhs haddock
> ..
> Setup.lhs: can't find source for module Paths_module

Ok, that is supposed to work. We'll need more details, eg the Cabal lib
version and the .cabal file you're using.

There was a bug in this area in Cabal-1.4.x:
http://hackage.haskell.org/trac/hackage/ticket/187

Duncan




More information about the Libraries mailing list