about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2021-01-04 10:04:18 +0200
committerGitHub <noreply@github.com>2021-01-04 10:04:18 +0200
commitcf0e54722de364691e529fa994d238b8d49e1708 (patch)
tree4deccd8bf9f2bd16c0837537479415680e3b6bc8 /pkgs
parentb8087628db04568027cba857cdecaa8599592902 (diff)
parent58fa36d30c15758777af7a09264c7949e61471c5 (diff)
Merge pull request #105301 from antifuchs/zsh-purity
zsh: Disable compiling in /usr/local/... as the site-function directory
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