mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
zsh: disable function subdirs
partial revert of #242678, since it can make Zsh very slow to start
This commit is contained in:
parent
2edb6d6f80
commit
17d990d9f7
@ -54,7 +54,7 @@ stdenv.mkDerivation {
|
||||
"--enable-pcre"
|
||||
"--enable-zshenv=${placeholder "out"}/etc/zshenv"
|
||||
"--disable-site-fndir"
|
||||
"--enable-function-subdirs"
|
||||
# --enable-function-subdirs is not enabled due to it being slow at runtime in some cases
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [
|
||||
# Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba
|
||||
"zsh_cv_shared_environ=yes"
|
||||
|
Loading…
Reference in New Issue
Block a user