
3 Oct
2011
3 Oct
'11
4:13 p.m.
On Fri, 2011-09-30 at 08:21 -0500, Chris Dornan wrote:
Ooops -- I meant to start another thread.
I have found the --package-db flag which Cabal uses. It would be really useful if Cabal could also use an environment variable (e.g., CABAL_PACKAGE_DB) for the purpose.
We don't use the GHC_PACKAGE_PATH. You ought to be able to set a global --package-db flag by putting it in the ~/.cabal/config. I don't plan to add any equivalent env var, but we're likely to add support for local cabal config files. What kind of use case are you thinking of? Duncan