Exposed module still hidden, why?

Greg Fitzgerald garious at
Tue Nov 20 15:18:57 EST 2007

Using GHC 6.8.1 on Windows XP, after having used ghc-pkg to expose '
directory-', 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?

...\haddock-0.8>runhaskell Setup.lhs configure
Configuring haddock-0.8...

...\haddock-0.8>runhaskell Setup.lhs build
Preprocessing executables for haddock-0.8...
shift/reduce conflicts:  5
Building haddock-0.8...

    Could not find module `System.Directory':
      it is a member of package directory-, which is hidden

...\haddock-0.8>ghc-pkg list
    Cabal-, HUnit-, OpenGL-, QuickCheck-,
    Win32-, array-, base-, bytestring-,
    cgi-3001.1.5.1, containers-, directory-, fgl-,
    filepath-, (ghc-6.8.1), haskell-src-,
    haskell98-, hpc-, html-, mtl-,
    network-, old-locale-, old-time-,
    packedstring-, parallel-, parsec-,
    pretty-, process-, random-,
    regex-base-, regex-compat-, regex-posix-,
    rts-1.0, stm-, template-haskell-, time-,

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Glasgow-haskell-users mailing list