diff options
Diffstat (limited to 'pkgs/tools/security/pinentry/default.nix')
-rw-r--r-- | pkgs/tools/security/pinentry/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/security/pinentry/default.nix b/pkgs/tools/security/pinentry/default.nix index ac6a50960ad2..ec1425bbeb4a 100644 --- a/pkgs/tools/security/pinentry/default.nix +++ b/pkgs/tools/security/pinentry/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, fetchpatch, stdenv, lib, pkgconfig +{ fetchurl, fetchpatch, stdenv, lib, pkgconfig, autoreconfHook , libgpgerror, libassuan , libcap ? null, libsecret ? null, ncurses ? null, gtk2 ? null, gcr ? null , qt4 ? null, qt5 ? null @@ -23,7 +23,7 @@ mkDerivation rec { sha256 = "0w35ypl960pczg5kp6km3dyr000m1hf0vpwwlh72jjkjza36c1v8"; }; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ libgpgerror libassuan libcap libsecret gtk2 gcr ncurses qt4 ] ++ stdenv.lib.optional (qt5 != null) qt5.qtbase; @@ -32,7 +32,9 @@ mkDerivation rec { substituteInPlace pinentry/pinentry-curses.c --replace ncursesw ncurses ''; - patches = lib.optionals (gtk2 != null) [ + patches = [ + ./autoconf-ar.patch + ] ++ lib.optionals (gtk2 != null) [ (fetchpatch { url = "https://salsa.debian.org/debian/pinentry/raw/debian/1.1.0-1/debian/patches/" + "0007-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch"; |