yubico-piv-tool: move check to nativeCheckInputs
This commit is contained in:
@@ -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.]+)$" ];
|
||||
|
||||
Reference in New Issue
Block a user