diff options
author | Andreas Fuchs <asf@boinkor.net> | 2020-11-28 19:04:06 -0500 |
---|---|---|
committer | Andreas Fuchs <asf@boinkor.net> | 2020-11-28 19:04:06 -0500 |
commit | 58fa36d30c15758777af7a09264c7949e61471c5 (patch) | |
tree | 413a544eb7a6ab3dafef0d2d6e67ddc216627a04 /pkgs/shells/zsh | |
parent | b83e5dbc3cd164481cb556e6a5d1c0451d8bd950 (diff) | |
download | nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar.gz nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar.bz2 nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar.lz nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar.xz nixlib-58fa36d30c15758777af7a09264c7949e61471c5.tar.zst nixlib-58fa36d30c15758777af7a09264c7949e61471c5.zip |
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.
Diffstat (limited to 'pkgs/shells/zsh')
-rw-r--r-- | pkgs/shells/zsh/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 56c76289e857..eab6d88a0b7d 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation { "--with-tcsetpgrp" "--enable-pcre" "--enable-zprofile=${placeholder "out"}/etc/zprofile" + "--disable-site-fndir" ]; # the zsh/zpty module is not available on hydra |