On 2008 May 21, at 1:37, Galchin, Vasili wrote:
I fairly innocuous question ;^). How does ghc-pkg know where are the *package.conf files are located?
The installed ghc-pkg is a shell script, to wit:
#!/bin/sh GHCPKGBIN=/usr/local/lib/ghc-6.8.2/ghc-pkg.bin PKGCONF=/usr/local/lib/ghc-6.8.2/package.conf exec $GHCPKGBIN --global-conf $PKGCONF ${1+"$@"}
The user package.conf is constructed from your home directory (~/.ghc/ platform-version/package.conf).
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe