about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnmol Sethi <anmol@aubble.com>2017-01-06 08:48:58 -0500
committerRok Garbas <rok@garbas.si>2017-01-06 18:31:11 +0100
commit3799f9322ae1d6a26748bdbf6932b0b4a5dba05b (patch)
tree44c528175e2d231317309cabb575070e13291f30
parentfb2e0e1eaac10016b58cea346bf303c45c99e3f7 (diff)
downloadnixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar.gz
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar.bz2
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar.lz
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar.xz
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.tar.zst
nixlib-3799f9322ae1d6a26748bdbf6932b0b4a5dba05b.zip
neovim: removed unncessary man configuration
Latest neovim uses a rewritten man plugin that does not need
these changes.
-rw-r--r--pkgs/applications/editors/neovim/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index a9a9b6952bda..cbaf14cee603 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
-, libtool, libuv, luajit, luaPackages, man, ncurses, perl, pkgconfig
+, libtool, libuv, luajit, luaPackages, ncurses, perl, pkgconfig
 , unibilium, makeWrapper, vimUtils, xsel, gperf
 
 , withPython ? true, pythonPackages, extraPythonPackages ? []
@@ -118,10 +118,7 @@ let
     # triggers on buffer overflow bug while running tests
     hardeningDisable = [ "fortify" ];
 
-    preConfigure = ''
-      substituteInPlace runtime/autoload/man.vim \
-        --replace /usr/bin/man ${man}/bin/man
-    '' + stdenv.lib.optionalString stdenv.isDarwin ''
+    preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
       export DYLD_LIBRARY_PATH=${jemalloc}/lib
       substituteInPlace src/nvim/CMakeLists.txt --replace "    util" ""
     '';