
On 11/20/07, Greg Fitzgerald
Using GHC 6.8.1 on Windows XP, after having used ghc-pkg to expose ' directory-1.0.0.0', I am getting an error when I build haddock that says the package is hidden. When I type "ghc-pkg list", the package is not in parenthesis. Typing "ghc -v" says that it is using the file from "C:\ghc\ghc- 6.8.1\package.conf". That package.conf file has the 'exposed' set to True for that file. Why does GHC still think the package is hidden?
Hi Greg, You need to add "directory" to the Build-Depends instruction in the cabal file. The base package has been split into separate modules in 6.8.1. Build-Depends: base, directory Look at this: http://groups.google.com/group/fa.haskell/msg/17a78c120ae26514 Cheers, Olivier.

Why does GHC still think the package is hidden? You need to add "directory" to the Build-Depends instruction in the cabal file
Thanks Olivier. Haddock now builds with this list for 'build-depends': base>=1.0, haskell98>=1.0, directory>=1.0, process>=1.0, containers>=0.1, array>=0.1, pretty>=1.0 The 'build' step also requires Happy and Alex to be installed, which are not mentioned in the cabal file. Thanks, Greg
participants (2)
-
Greg Fitzgerald
-
Olivier Boudry