diff --git a/pkgs/tools/security/opensc/default.nix b/pkgs/tools/security/opensc/default.nix index 31c5db532320..1ee94066905c 100644 --- a/pkgs/tools/security/opensc/default.nix +++ b/pkgs/tools/security/opensc/default.nix @@ -8,7 +8,8 @@ stdenv.mkDerivation rec { sha256 = "0zr04qadk9gsabmhnwmk27kb4zgfpy988nwa9s1k3hc3hn3gls3a"; }; - configureFlags = [ "--enable-pcsc" "--enable-nsplugin" ]; + configureFlags = [ "--enable-pcsc" "--enable-nsplugin" + "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1" ]; buildInputs = [ libtool readline zlib openssl pcsclite libassuan pkgconfig libXt ] ++ stdenv.lib.optional (! stdenv.isLinux) libiconv;