[Hackage] #834: cabal should detect case errors in build-depends:

Hackage cvs-ghc at haskell.org
Fri Apr 22 14:29:36 CEST 2011


#834: cabal should detect case errors in build-depends:
---------------------------------+------------------------------------------
  Reporter:  cmh                 |        Owner:         
      Type:  enhancement         |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.6
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 for example, with a foo.cabal file containing:

     build depends: http >= 4000

 Resolving dependencies...
 cabal: cannot configure foo-0.0.1. It requires http >=4000
 There is no available version of http that satisfies >=4000

 The solution is of course to specify HTTP, but the user may be led to
 believe that there is a version problem, which is confusing.

 Perhaps a message such as - "Did you mean package HTTP" - Would be
 appropriate.

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



More information about the cabal-devel mailing list