diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index d84a0645a234..cf9f53baba96 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -210,6 +210,7 @@ - `mold` is now wrapped by default. +- `neovim` now disables by default the `python3` and `ruby` providers, unused by most users and reducing closure size from 365MiB to 240MiB. ### Deprecations {#sec-nixpkgs-release-26.05-lib-deprecations} diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 47d55e3042b6..23968bf21d0e 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -177,7 +177,7 @@ let # the function you would have passed to python.withPackages extraPythonPackages ? (_: [ ]), # the function you would have passed to python.withPackages - withPython3 ? true, + withPython3 ? false, extraPython3Packages ? (_: [ ]), # the function you would have passed to lua.withPackages extraLuaPackages ? (_: [ ]), @@ -243,9 +243,9 @@ let */ generateProviderRc = { - withPython3 ? true, + withPython3 ? false, withNodeJs ? false, - withRuby ? true, + withRuby ? false, # Perl is problematic https://github.com/NixOS/nixpkgs/issues/132368 withPerl ? false, diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index e8f04ad30fc3..5234ad484c41 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -37,14 +37,14 @@ let # should contain all args but the binary. Can be either a string or list wrapperArgs ? [ ], withPython2 ? false, - withPython3 ? true, + withPython3 ? false, # the function you would have passed to python3.withPackages extraPython3Packages ? (_: [ ]), waylandSupport ? lib.meta.availableOn stdenv.hostPlatform wayland, withNodeJs ? false, withPerl ? false, - withRuby ? true, + withRuby ? false, # wether to create symlinks in $out/bin/vi(m) -> $out/bin/nvim vimAlias ? false,