neovim: also unset PYTHONSAFEPATH in python wrapper
This commit is contained in:
parent
f52a5610dd
commit
a55b396e05
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ let
|
||||||
--replace 'Name=Neovim' 'Name=Neovim wrapper'
|
--replace 'Name=Neovim' 'Name=Neovim wrapper'
|
||||||
''
|
''
|
||||||
+ lib.optionalString finalAttrs.withPython3 ''
|
+ lib.optionalString finalAttrs.withPython3 ''
|
||||||
makeWrapper ${python3Env.interpreter} $out/bin/nvim-python3 --unset PYTHONPATH
|
makeWrapper ${python3Env.interpreter} $out/bin/nvim-python3 --unset PYTHONPATH --unset PYTHONSAFEPATH
|
||||||
''
|
''
|
||||||
+ lib.optionalString (finalAttrs.rubyEnv != null) ''
|
+ lib.optionalString (finalAttrs.rubyEnv != null) ''
|
||||||
ln -s ${finalAttrs.rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
ln -s ${finalAttrs.rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
||||||
|
|
Loading…
Reference in a new issue