about summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorJohn Chadwick <john@jchw.io>2024-01-22 23:58:49 -0500
committerJohn Chadwick <john@jchw.io>2024-01-22 23:58:49 -0500
commita55b396e056a14bdb3f60151599488da8ff8b7d4 (patch)
treeed24f137063c9fabf804204e8ab43c27c45578dc /pkgs/applications/editors/neovim
parentf52a5610dd6d4efd349111e06338a595960892ea (diff)
downloadnixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar.gz
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar.bz2
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar.lz
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar.xz
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.tar.zst
nixlib-a55b396e056a14bdb3f60151599488da8ff8b7d4.zip
neovim: also unset PYTHONSAFEPATH in python wrapper
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix
index 29146a769843..3ff760b21885 100644
--- a/pkgs/applications/editors/neovim/wrapper.nix
+++ b/pkgs/applications/editors/neovim/wrapper.nix
@@ -102,7 +102,7 @@ let
           --replace 'Name=Neovim' 'Name=Neovim wrapper'
       ''
       + 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) ''
         ln -s ${finalAttrs.rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby