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.
commit58fa36d30c15758777af7a09264c7949e61471c5
authorAndreas Fuchs <asf@boinkor.net>
dateSat 28 Nov 2020, 19:04 (6 years ago)
parentb83e5db
pkgs/shells/zsh/default.nix+1
@@ -26,6 +26,7 @@ stdenv.mkDerivation {
2626 "--with-tcsetpgrp"
2727 "--enable-pcre"
2828 "--enable-zprofile=${placeholder "out"}/etc/zprofile"
29+ "--disable-site-fndir"
2930 ];
3031
3132 # the zsh/zpty module is not available on hydra