patch applied (cabal): Change dependency resolution algorithm.

Duncan Coutts duncan.coutts at
Sun Apr 20 15:25:24 EDT 2008

Sun Apr 13 06:18:07 PDT 2008  Thomas Schilling <nominolo at>
  * 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).

    M ./Distribution/PackageDescription/Configuration.hs -10 +17

View patch online:

More information about the cabal-devel mailing list