Skip to content

Commit

Permalink
Default 1.9 criteria: was missing a criterion
Browse files Browse the repository at this point in the history
there was nothing telling that non-requested packages that get installed should get
to their latest version if possible
  • Loading branch information
AltGr committed Aug 19, 2014
1 parent 1b6ec60 commit 7366c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/opamGlobals.ml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ let solver_timeout =
type solver_criteria = [ `Default | `Upgrade | `Fixup ]

let default_preferences = function
| `Default -> "-count(removed),-notuptodate(request),-count(down),-count(changed)"
| `Default -> "-count(removed),-notuptodate(request),-count(down),-count(changed),-notuptodate(solution)"
| `Upgrade -> "-count(down),-count(removed),-notuptodate(solution),-count(new)"
| `Fixup -> "-count(changed),-notuptodate(solution)"

Expand Down

0 comments on commit 7366c90

Please sign in to comment.