diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-30 18:23:25 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-30 18:49:28 -0700 |
commit | f48fe899c3058d771168500a40bb8c7a7ea39941 (patch) | |
tree | 79915aa2ca54964bd98fce108c06fb966d06496e /pkgs/applications/editors/nvi | |
parent | 27b435487ccf34c60cb2552066ed1262cf69e683 (diff) |
Simplify some builds with curses compatability
Diffstat (limited to 'pkgs/applications/editors/nvi')
-rw-r--r-- | pkgs/applications/editors/nvi/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/nvi/default.nix b/pkgs/applications/editors/nvi/default.nix index ee9b775453c2..89762d5bc333 100644 --- a/pkgs/applications/editors/nvi/default.nix +++ b/pkgs/applications/editors/nvi/default.nix @@ -17,9 +17,9 @@ stdenv.mkDerivation rec { # nvi tries to write to a usual tmp directory (/var/tmp), # so we will force it to use /tmp. patchPhase = '' - sed -i -e s/-lcurses/-lncurses/ \ + sed -i build/configure \ -e s@vi_cv_path_preserve=no@vi_cv_path_preserve=/tmp/vi.recover@ \ - -e s@/var/tmp@@ build/configure + -e s@/var/tmp@@ ''; configurePhase = '' |