From 58fa36d30c15758777af7a09264c7949e61471c5 Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Sat, 28 Nov 2020 19:04:06 -0500 Subject: [PATCH] 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. --- pkgs/shells/zsh/default.nix | 1 + 1 file changed, 1 insertion(+) 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