From 4c1703786c82898281c815b7958a896a12340306 Mon Sep 17 00:00:00 2001 From: "Scott R. Parish" Date: Wed, 11 Jan 2017 19:14:12 -0800 Subject: [PATCH] nvi: fix linking with ncurses --- pkgs/applications/editors/nvi/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/nvi/default.nix b/pkgs/applications/editors/nvi/default.nix index 89762d5bc333..82c89ebdca6e 100644 --- a/pkgs/applications/editors/nvi/default.nix +++ b/pkgs/applications/editors/nvi/default.nix @@ -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 = ''