nix-update icon indicating copy to clipboard operation
nix-update copied to clipboard

Feature request: Disallow downgrades

Open eclairevoyant opened this issue 6 months ago • 5 comments

Upstreams sometimes release tags out of order, for example if there's a stable and LTS version branches that are both getting maintenance. In such cases, running nix-update may downgrade stable to the LTS if the LTS tag is newer. It would be useful to disallow such downgrades in that scenario, and ensure only monotonically increasing version numbers.

Example: https://github.com/NixOS/nixpkgs/pull/334315

eclairevoyant avatar Aug 18 '24 12:08 eclairevoyant