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.
Cheers, Chris -----Original Message----- From: Chris Dornan [mailto:ch...@chrisdornan.com] Sent: 29 September 2011 19:45 To: 'cabal-devel@haskell.org' Subject: RE: [Hackage] #282: profiling versions of libraries not managed well Developer Peeps, If I set up GHC_PACKAGE_PATH and use cabal-install to install a package it gives me: cabal: transformers-0.2.2.0: dependency "base-4.3.1.0-ce8fa578cfbfec84d7155c6e49bcce2f" doesn't exist (use --force to override) for each library it tries to install. Is there an easy way to get cabal to work with GHC_PACKGE_PATH smoothly? (Apologies in advance for the stupid question.) Chris -----Original Message----- From: cabal-devel-boun...@haskell.org [mailto:cabal-devel-boun...@haskell.org] On Behalf Of Hackage Sent: 29 September 2011 13:53 Cc: cabal-devel@haskell.org Subject: Re: [Hackage] #282: profiling versions of libraries not managed well #282: profiling versions of libraries not managed well ---------------------------------+------------------------------------------ Reporter: SamB | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: profiling Difficulty: hard (< 1 day) | Ghcversion: 6.8.2 Platform: | ---------------------------------+------------------------------------------ Changes (by bgamari): * cc: bgamari@… (added) -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/282#comment:9> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel