[project @ 2005-11-08 14:18:35 by simonmar]
authorsimonmar <unknown>
Tue, 8 Nov 2005 14:18:35 +0000 (14:18 +0000)
committersimonmar <unknown>
Tue, 8 Nov 2005 14:18:35 +0000 (14:18 +0000)
commitd76ab8dde14aedffd323034506bb4deae8855f60
tree59b1e857907976fbf7a15ec300ebb769a70efd21
parent033418425ff8b4591580bf2bc4476b7ecc203ba6
[project @ 2005-11-08 14:18:35 by simonmar]
when GHC_PACKAGE_PATH is set, treat the database at the bottom of the
stack as the "global" one, ie. the one we modify by default.  This
means that GHC_PACKAGE_PATH can be used to set up a virtual GHC
package environment into which packages can be installed using Cabal,
without setting anything other than GHC_PACKAGE_PATH.
ghc/utils/ghc-pkg/Main.hs