patch pinentry to work with ncurses

This commit is contained in:
Jude Taylor
2015-06-25 16:36:05 -07:00
parent 33de26c029
commit 7e4f41b16f
+4
View File
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libcap gtk2 ncurses qt4 ];
prePatch = ''
substituteInPlace pinentry/pinentry-curses.c --replace ncursesw ncurses
'';
# configure cannot find moc on its own
preConfigure = stdenv.lib.optionalString (qt4 != null) ''
export QTDIR="${qt4}"