[Haskell-cafe] Re: Exposed module still hidden, why?

Olivier Boudry olivier.boudry at gmail.com
Tue Nov 20 15:31:38 EST 2007


On 11/20/07, Greg Fitzgerald <garious at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071120/a2be4fb6/attachment.htm


More information about the Haskell-Cafe mailing list