diff --git a/pkgs/tools/security/opensc/0.11.7.nix b/pkgs/tools/security/opensc/0.11.7.nix index 52a4d2af19a..af0bc5144a8 100644 --- a/pkgs/tools/security/opensc/0.11.7.nix +++ b/pkgs/tools/security/opensc/0.11.7.nix @@ -1,5 +1,5 @@ {stdenv, fetchurl, libtool, readline, zlib, openssl, libiconv, pcsclite, libassuan, pkgconfig, -libXt}: +libXt, pinentry}: stdenv.mkDerivation rec { name = "opensc-0.11.7"; @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { }; configureFlags = [ "--enable-pcsc" "--enable-nsplugin" - "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1" ]; + "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1" + "--with-pinentry=${pinentry}/bin/pinentry" ]; buildInputs = [ libtool readline zlib openssl pcsclite libassuan pkgconfig libXt ] ++ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 68fe3c2d903..6285ea3faeb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1180,7 +1180,7 @@ let opensc_0_11_7 = import ../tools/security/opensc/0.11.7.nix { inherit fetchurl stdenv libtool readline zlib openssl libiconv pcsclite - libassuan pkgconfig; + libassuan pkgconfig pinentry; inherit (xlibs) libXt; };