
24 Apr
2006
24 Apr
'06
6:07 a.m.
Neil Mitchell wrote:
import Paths_haddock ( getDataDir )
Haddock requires to be built with Cabal (which generates this module), and as far as I can remember, its a Cabal that isn't released anywhere. When I did some work on haddock I commented this out, and made getDataDir return an empty list and then made sure to set the -l flag (I think) and was able to work around this.
Of course, the "solution" is to get Cabal working. I broke Cabal long ago, but you might have more luck.
Haddock builds fine with the Cabal included in GHC 6.4.2, BTW. Cheers, Simon