zsh: disable function subdirs

partial revert of #242678,
since it can make Zsh very slow to start
This commit is contained in:
Minijackson 2024-06-07 10:50:04 +02:00
parent 2edb6d6f80
commit 17d990d9f7
No known key found for this signature in database
GPG Key ID: FEA888C9F5D64F62

View File

@ -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"