lix/src/nix-env
Vladimír Čunát 64f9b511be nix-env --upgrade: avoid unexpected downgrades
Until now, if one explicitly installed a low-priority version,
nix-env --upgrade would downgrade it by default and even with --leq.
Let's never accept an upgrade with version not matching the upgradeType.
Additionally, let's never decrease the priority of an installed package;
you can use --install to force that.

Also refactor to use variable bestVersion instead of bestName,
as only version was used from it.
2015-09-17 12:06:26 +02:00
..
local.mk Update Makefile variable names 2014-02-01 13:54:38 +01:00
nix-env.cc nix-env --upgrade: avoid unexpected downgrades 2015-09-17 12:06:26 +02:00
user-env.cc Optimize small lists 2015-07-23 22:05:09 +02:00
user-env.hh Mis-read Eelko's request to not make this an option: now, let's not make 2015-05-20 17:29:52 +02:00