Ticket #307 (closed enhancement: worksforme)

Opened 5 months ago

Last modified 5 months ago

Allow specifying alternative source and target package databases other than --user and --global

Reported by: fons Assigned to:
Priority: normal Milestone:
Component: Cabal library Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.2 Platform:

Description

Sometimes, it is useful to use alternative target/source package databases (e.g. for testing that the installation of a package with custom hooks works, without poisoning the global or user databases).

GHC allows doing that through ghc's and ghc-pkg's -package-conf flag. However, there's no equivalent in Cabal.

Thus, I suggest adding new -package-conf flag to the configure, install and register commands.

Change History

07/03/08 04:28:33 changed by igloo

  • status changed from new to closed.
  • resolution set to worksforme.

This already exists: ./Setup configure --package-db=PATH