@@ -3,6 +3,7 @@
33, bundlerEnv, ruby
44, nodejs
55, nodePackages
6+, python3
67, python3Packages
78, callPackage
89}:
@@ -17,7 +18,7 @@ let
1718 , wrapperArgs ? []
1819 , manifestRc ? null
1920 , withPython2 ? false
20− , withPython3 ? true, python3Env ? null
21+ , withPython3 ? true, python3Env ? python3
2122 , withNodeJs ? false
2223 , rubyEnv ? null
2324 , vimAlias ? false
@@ -59,7 +60,7 @@ let
5960 --replace 'Name=Neovim' 'Name=WrappedNeovim'
6061 ''
6162 + optionalString withPython3 ''
62− makeWrapper ${python3Env}/bin/python3 $out/bin/nvim-python3 --unset PYTHONPATH
63+ makeWrapper ${python3Env.interpreter} $out/bin/nvim-python3 --unset PYTHONPATH
6364 ''
6465 + optionalString (rubyEnv != null) ''
6566 ln -s ${rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby