patch pinentry to work with ncurses

This commit is contained in:
Jude Taylor 2015-06-24 17:13:40 -07:00
parent 33de26c029
commit 7e4f41b16f

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}"