"Simon Marlow" <[EMAIL PROTECTED]> writes:

> Ok, fixed.  The right way to get the location of the package.conf file
> is to ask ghc-pkg, BTW.  In fact, the right way is not to know the
> location of package.conf at all, but to use ghc-pkg to query its
> contents.  The contents of package.conf is proprietary :-)

And indeed hmake does use ghc-pkg, when it needs to find import
directories etc.  But the thing is, previous versions of ghc-pkg
reported such directories as e.g. "$libdir/base", and how do you find
out what $libdir refers to...?

Regards,
    Malcolm
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to