Query information about installed modules user or system only?

Simon Marlow simonmarhaskell at gmail.com
Mon Mar 5 07:09:29 EST 2007

Marc Weber wrote:
> Is there a way to ask ghc-pkg to list all availible packages found in
> the user lib or system lib or lib given by path? If I have read the
> documentation corretly it says: no.
> Is there any reason for this restriction?
> Can I query ghc-pkg to list pgk-config files (user/ system)?

"ghc-pkg list" tells you each of the config files it is using.

You can say "ghc-pkg --global-conf=<file>" to use a different system config file.

Does that help?


More information about the Glasgow-haskell-users mailing list