From 3799f9322ae1d6a26748bdbf6932b0b4a5dba05b Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 6 Jan 2017 08:48:58 -0500 Subject: [PATCH] neovim: removed unncessary man configuration Latest neovim uses a rewritten man plugin that does not need these changes. --- pkgs/applications/editors/neovim/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index a9a9b6952bd..cbaf14cee60 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" "" '';