[Hackage] #224: allow specifying package version constraints to configure

Hackage trac at galois.com
Sun Apr 20 15:28:27 EDT 2008


#224: allow specifying package version constraints to configure
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:           
      Type:  enhancement    |       Status:  closed   
  Priority:  normal         |    Milestone:  Cabal-1.4
 Component:  Cabal library  |      Version:  1.2.3.0  
  Severity:  normal         |   Resolution:  fixed    
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.8.2          |     Platform:           
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed:
 {{{
 Sun Apr 13 14:18:07 BST 2008  Thomas Schilling <nominolo at gmail.com>
   * Change dependency resolution algorithm.

   There were two reasons to do this.  Firstly, this formulation makes it
   easier to add the --constraint command line flag that adds additional
   constraints on the packages that should be used.

   Secondly, with the orgininal algorithm it was possible to satisfy the
   constraint "foo < 1, foo > 2" if we had two versions of package "foo"
   which each satisfy one constraint.  This patch fixes this by requiring
   the same package to satisfy both constraints (which of course is
   impossible in this case).

 Sun Apr 13 19:26:59 BST 2008  Thomas Schilling <nominolo at gmail.com>
   * Fix #224.  We do not yet warn if the user specified a dependency that
   did not occur in the package (it is just silently ignored.)
 }}}

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


More information about the cabal-devel mailing list