nvi: fix linking with ncurses

This commit is contained in:
Scott R. Parish 2017-01-11 19:14:12 -08:00
parent 575b0352b9
commit 4c1703786c

View file

@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
sed -i build/configure \
-e s@vi_cv_path_preserve=no@vi_cv_path_preserve=/tmp/vi.recover@ \
-e s@/var/tmp@@
-e s@/var/tmp@@ \
-e s@-lcurses@-lncurses@
'';
configurePhase = ''