zsh: Disable compiling in /usr/local/... as the site fndir

With the default configure flags, zsh compiles in a reference to the
"site function" directory that's outside the store path. Under the
right (wrong) circumstances, other builds using zsh can be affected by
these functions.
This commit is contained in:
Andreas Fuchs 2020-11-28 19:04:06 -05:00
parent b83e5dbc3c
commit 58fa36d30c

View File

@ -26,6 +26,7 @@ stdenv.mkDerivation {
"--with-tcsetpgrp" "--with-tcsetpgrp"
"--enable-pcre" "--enable-pcre"
"--enable-zprofile=${placeholder "out"}/etc/zprofile" "--enable-zprofile=${placeholder "out"}/etc/zprofile"
"--disable-site-fndir"
]; ];
# the zsh/zpty module is not available on hydra # the zsh/zpty module is not available on hydra