about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAndreas Fuchs <asf@boinkor.net>2020-11-28 19:04:06 -0500
committerAndreas Fuchs <asf@boinkor.net>2020-11-28 19:04:06 -0500
commit58fa36d30c15758777af7a09264c7949e61471c5 (patch)
tree413a544eb7a6ab3dafef0d2d6e67ddc216627a04 /pkgs
parentb83e5dbc3cd164481cb556e6a5d1c0451d8bd950 (diff)
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')
-rw-r--r--pkgs/shells/zsh/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index 56c76289e857f..eab6d88a0b7d1 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