git.iko.soy/typeable/nixpkgs
on master help sign in
neovim: fix Man command
commit15c6fa023fe6c85e1a5e7475bb6f1a761f845dca authorNick Novitski <github@nicknovitski.com> dateSat 21 May 2016, 03:50 (11 years ago) parentbc93957
1 file changed+6−3
pkgs/applications/editors/neovim/default.nix+6−3
pkgs/applications/editors/neovim/default.nix+6−3
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack, libtermkey
2−, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, ncurses, perl
3−, pkgconfig, unibilium, makeWrapper, vimUtils
2+, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, man, ncurses
3+, perl, pkgconfig, unibilium, makeWrapper, vimUtils
44
55, withPython ? true, pythonPackages, extraPythonPackages ? []
66, withPython3 ? true, python3Packages, extraPython3Packages ? []
@@ -98,7 +98,10 @@ let
9898 LUA_CPATH="${lpeg}/lib/lua/${lua.luaversion}/?.so;${luabitop}/lib/lua/5.2/?.so";
9999 LUA_PATH="${luaMessagePack}/share/lua/5.1/?.lua";
100100
101− preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
101+ preConfigure = ''
102+ substituteInPlace runtime/autoload/man.vim \
103+ --replace /usr/bin/man ${man}/bin/man
104+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
102105 export DYLD_LIBRARY_PATH=${jemalloc}/lib
103106 substituteInPlace src/nvim/CMakeLists.txt --replace " util" ""
104107 '';