Unverified Commit e4d2291c authored by Anthony Roussel's avatar Anthony Roussel
Browse files

yubico-piv-tool: move check to nativeCheckInputs

parent 3801a6e4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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.]+)$" ];