I think I need a dynamic mechanism. I can work with the current regime for the 
moment but when I have a demonstrator (soon I hope) I will get back to you.

Chris

-----Original Message-----
From: Duncan Coutts [mailto:duncan.cou...@googlemail.com] 
Sent: 03 October 2011 15:13
To: Chris Dornan
Cc: cabal-devel@haskell.org
Subject: RE: [Hackage] #282: profiling versions of libraries not managed well

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


_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to