Haddock vs GHC version

Neil Mitchell ndmitchell at gmail.com
Wed Apr 22 06:09:25 EDT 2009


Hi

> Check the cabal configure -v output. Check that you're picking up the
> versions and locations of ghc and haddock that you expect.

I'm not, I get:

Using haddock version 2.5.0 found on system at: C:\Program
Files\Haskell\bin\haddock.exe

But running haddock gives:

$ haddock --version
Haddock version 2.4.2, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008

$ which haddock
c:\ghc\ghc-6.10.2\bin\haddock.exe

How come it's picking up a different haddock? Is that an error with
the findExecutable, or is it deliberately trying to pick a newer
version?

Thanks

Neil



More information about the cabal-devel mailing list