[Hackage] #307: Allow specifying alternative source and target package databases other than --user and --global

Hackage trac at galois.com
Wed Jul 2 13:04:38 EDT 2008


#307: Allow specifying alternative source and target package databases other than
--user and --global
----------------------------+-----------------------------------------------
  Reporter:  fons           |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.2  
  Platform:                 |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/307>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list