lix/src
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
..
boost boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
bsdiff-4.3 Fix "make dist" 2014-02-01 14:38:12 +01:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr Removed unnecessary included 2015-08-03 11:48:34 +02:00
libmain --version: Print some config info 2015-07-23 14:38:00 +02:00
libstore Implement buildDerivation() via the daemon 2015-09-03 12:56:59 +02:00
libutil Implement buildDerivation() via the daemon 2015-09-03 12:56:59 +02:00
nix-collect-garbage nix-collect-garbage: Revive --max-freed 2015-08-21 13:57:53 +02:00
nix-daemon Implement buildDerivation() via the daemon 2015-09-03 12:56:59 +02:00
nix-env nix-env --upgrade: avoid unexpected downgrades 2015-09-17 12:06:26 +02:00
nix-hash Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
nix-instantiate OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
nix-log2xml nix-log2xml: Handle newlines 2014-08-13 19:06:20 +02:00
nix-store --version: Print some config info 2015-07-23 14:38:00 +02:00