opensc: use regex to determine release tags

Prevents false updates such as
https://github.com/NixOS/nixpkgs/pull/484332.
This commit is contained in:
Michael Adler
2026-01-27 14:44:53 +01:00
parent c5296fdd05
commit 06ffe2b183

View File

@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
"completiondir=$(out)/etc"
];
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^([0-9\.]+)$" ]; };
meta = {
description = "Set of libraries and utilities to access smart cards";