diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-09-17T08·34+0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-09-17T10·06+0200 |
commit | 64f9b511be8a77ba98c0dd40df022b7d299293d4 (patch) | |
tree | e1ff9d259be2d7c859f4bd6f078d9c94aa379da3 /doc | |
parent | 55b11461505f60aa9f73b569d59df3699c293f71 (diff) |
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.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions