The case of the missing module

In the Haddock source, there's the following line: import Paths_haddock ( getDataDir ) Paths_haddock doesn't seem to be anywhere inside the Haddock distribution, and a Google search doesn't turn up any useful results. Where can I find this thing?

Hi,
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. Thanks Neil

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

Am Sonntag, 16. April 2006 03:41 schrieb ihope:
In the Haddock source, there's the following line:
import Paths_haddock ( getDataDir )
Paths_haddock doesn't seem to be anywhere inside the Haddock distribution, and a Google search doesn't turn up any useful results. Where can I find this thing?
As mentioned in a previous mail, Haddock is now fully cabalized. The module mentioned above is automatically generated by Cabal. Cheers, S.
participants (4)
-
ihope
-
Neil Mitchell
-
Simon Marlow
-
Sven Panne