On 11/20/07, Greg Fitzgerald <garious@gmail.com> wrote:
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.