[Haskell-cafe] Re: Haddock Problem

David Waern david.waern at gmail.com
Mon Jun 14 05:09:49 EDT 2010

2010/6/14 Dominic Steinitz <dominic at steinitz.org>:
>> Try "--optghc=-package-conf --optghc=<file>", to point Haddock at the custom
> DB.
> Hi David, Thanks for the quick response. No dice I am afraid. Dominic. BTW this
> (using optghc) used to work on previous versions of haddock (iirc 2.4 and 2.5).
> ..\ThirdParty\Haskell_Platform\2010.1.0.0\bin\haddock.exe
> --optghc=-package-conf
> --optghc=c:\p4wksp\steinitd_fpf_exdate_ws\FPF_Dev.br\ThirdParty\haskell
> _packages\fpf.package.conf
> backendc\PAD2C.hs
> haddock.exe: can't find a package database at E:\ghc\ghc-6.12.1
> \lib\package.conf.d

OK, it seems like the path from the ghc-paths package overrided what
you specified. I'm not sure this will work, but you could try:

  haddock -B c:\p4wksp\steinitd_fpf_exdate_ws\FPF_Dev.br\ThirdParty\haskell_packages\fpf.package.conf


More information about the Haskell-Cafe mailing list