git.iko.soy/typeable/nixpkgs
on master help sign in
neovim: provide default value for python3Env (#147241)
commit137a15365503782e44f33772e4562b7eb222765f authorMichael Adler <therisen06@gmail.com> dateWed 1 Dec 2021, 10:15 (5 years ago) parentbc41971
1 file changed+3−2
pkgs/applications/editors/neovim/wrapper.nix+3−2
pkgs/applications/editors/neovim/wrapper.nix+3−2
@@ -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