[Hackage] #931: Support building source trees with many packages

Hackage cvs-ghc at haskell.org
Mon Mar 12 17:03:38 CET 2012

#931: Support building source trees with many packages
  Reporter:  tibbe               |        Owner:          
      Type:  enhancement         |       Status:  new     
  Priority:  normal              |    Milestone:          
 Component:  cabal-install tool  |      Version:
  Severity:  normal              |     Keywords:          
Difficulty:  unknown             |   Ghcversion:          
  Platform:                      |  
 A not uncommon use case is building a package against a set of
 dependencies that exist in (unreleased) source form. For example, given
 two packages:

 $ ls

 I'd like to be able to

 $ cd unordered-containers
 cabal build --root=..

 Cabal should then recursively traverse directories from `--root`, looking
 for .cabal files to use when fulfilling dependencies (i.e. in this case
 it'd find `hashable`.) Those dependencies should also be marked as
 preferred to any Hackage versions of the package with the same version

 It'd also be convenient to add several `--root` flags, so one can specify
 specific packages to use in source form (without using e.g. the user's
 complete `~/src` directory.)

 $ cd unordered-containers
 cabal build --root=../hashable --root=../text

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

More information about the cabal-devel mailing list