[Hackage] #282: profiling versions of libraries not managed well

Duncan Coutts duncan.coutts at googlemail.com
Mon Oct 3 22:13:29 CEST 2011


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




More information about the cabal-devel mailing list