nsncd: add --version-regex to updateScript

Upstream tagged a .1.5.2 version (with a trailing dot), and r-ryantm
keeps sending PRs to bump to that.

Set --version-regex of nix-update-script to hopefully prevent it from
doing this.

See https://github.com/twosigma/nsncd/issues/202
See https://github.com/NixOS/nixpkgs/pull/518824
Closes https://github.com/NixOS/nixpkgs/pull/524808
This commit is contained in:
Florian Klink
2026-05-28 13:02:18 +02:00
parent 65b17bdb99
commit f07e336c3f

View File

@@ -56,6 +56,6 @@ rustPlatform.buildRustPackage {
passthru = {
tests.nscd = nixosTests.nscd;
updateScript = nix-update-script { };
updateScript = nix-update-script { extraArgs = [ "--version-regex=^v([0-9][0-9.]+)$" ]; };
};
}