diff options
author | Nick Novitski <github@nicknovitski.com> | 2016-05-21 03:50:04 +0000 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-05-21 21:51:40 +0200 |
commit | 15c6fa023fe6c85e1a5e7475bb6f1a761f845dca (patch) | |
tree | 8f1e3e788e5d6cb5549d6ff264b50c97f7f1aaf9 /pkgs/applications/editors | |
parent | bc93957bb5466692ddd37843f58898fde0a47831 (diff) | |
download | nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar.gz nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar.bz2 nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar.lz nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar.xz nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.tar.zst nixpkgs-15c6fa023fe6c85e1a5e7475bb6f1a761f845dca.zip |
neovim: fix Man command
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/neovim/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 5ac7a69aeda..0eba31375dc 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack, libtermkey -, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, ncurses, perl -, pkgconfig, unibilium, makeWrapper, vimUtils +, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, man, ncurses +, perl, pkgconfig, unibilium, makeWrapper, vimUtils , withPython ? true, pythonPackages, extraPythonPackages ? [] , withPython3 ? true, python3Packages, extraPython3Packages ? [] @@ -98,7 +98,10 @@ let LUA_CPATH="${lpeg}/lib/lua/${lua.luaversion}/?.so;${luabitop}/lib/lua/5.2/?.so"; LUA_PATH="${luaMessagePack}/share/lua/5.1/?.lua"; - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' + preConfigure = '' + substituteInPlace runtime/autoload/man.vim \ + --replace /usr/bin/man ${man}/bin/man + '' + stdenv.lib.optionalString stdenv.isDarwin '' export DYLD_LIBRARY_PATH=${jemalloc}/lib substituteInPlace src/nvim/CMakeLists.txt --replace " util" "" ''; |