neovim: Allow passing extra makeWrapperArgs

This commit is contained in:
Jonas Holst Damtoft 2019-05-24 13:03:47 +02:00 committed by Matthieu Coudron
parent 97aba37876
commit dbb27af6c6

View File

@ -12,7 +12,8 @@ neovim:
let let
wrapper = { wrapper = {
withPython ? true, extraPythonPackages ? (_: []) /* the function you would have passed to python.withPackages */ extraMakeWrapperArgs ? ""
, withPython ? true, extraPythonPackages ? (_: []) /* the function you would have passed to python.withPackages */
, withPython3 ? true, extraPython3Packages ? (_: []) /* the function you would have passed to python.withPackages */ , withPython3 ? true, extraPython3Packages ? (_: []) /* the function you would have passed to python.withPackages */
, withNodeJs? false , withNodeJs? false
, withRuby ? true , withRuby ? true
@ -113,7 +114,7 @@ let
# https://github.com/neovim/neovim/issues/9413 # https://github.com/neovim/neovim/issues/9413
wrapProgram $out/bin/nvim \ wrapProgram $out/bin/nvim \
--set NVIM_SYSTEM_RPLUGIN_MANIFEST $out/rplugin.vim \ --set NVIM_SYSTEM_RPLUGIN_MANIFEST $out/rplugin.vim \
--add-flags "-u ${vimUtils.vimrcFile configure}" --add-flags "-u ${vimUtils.vimrcFile configure}" ${extraMakeWrapperArgs}
''; '';
preferLocalBuild = true; preferLocalBuild = true;