yubico-piv-tool: move check to nativeCheckInputs

This commit is contained in:
Anthony Roussel
2024-05-07 15:24:50 +02:00
parent 3801a6e450
commit e4d2291c0e
+4 -1
View File
@@ -41,7 +41,6 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
openssl
check
zlib.dev
]
++ (if withApplePCSC then [ PCSC ] else [ pcsclite ]);
@@ -56,6 +55,10 @@ stdenv.mkDerivation (finalAttrs: {
configureFlags = [ "--with-backend=${if withApplePCSC then "macscard" else "pcsc"}" ];
doCheck = true;
nativeCheckInputs = [ check ];
passthru = {
updateScript = nix-update-script {
extraArgs = [ "--version-regex" "yubico-piv-tool-([0-9.]+)$" ];