[Hackage] #411: Command to install dependencies of a package.

Hackage trac at galois.com
Mon Feb 9 15:52:38 EST 2009

#411: Command to install dependencies of a package.
  Reporter:  mornfall            |        Owner:                   
      Type:  defect              |       Status:  new              
  Priority:  normal              |    Milestone:  cabal-install-0.8
 Component:  cabal-install tool  |      Version:          
  Severity:  normal              |   Resolution:                   
  Keywords:                      |   Difficulty:  easy (<4 hours)  
Ghcversion:  6.8.3               |     Platform:                   
Comment (by duncan):

 It's been pointed out that this is the natural thing to suggest to users
 when `cabal configure` fails with missing dependencies.

 The alternative is to tell users to do something like:

 $ cabal configure
 Resolving dependencies...
 Configuring foo-1.0...
 setup: At least the following dependencies are missing:
 bar >= 1.0
 cabal: You can install these dependencies with:
   cabal install 'bar >= 1.0'

 It would have to give the version constraints appropriately and in quotes
 to prevent bad things with the shell.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/411#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list