[Hackage] #282: profiling versions of libraries not managed well
chris at chrisdornan.com
Tue Oct 4 10:50:10 CEST 2011
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.
From: Duncan Coutts [mailto:duncan.coutts at googlemail.com]
Sent: 03 October 2011 15:13
To: Chris Dornan
Cc: cabal-devel at 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?
More information about the cabal-devel