diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 472b78c4a6d0..bebf219d9b25 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -34,10 +34,8 @@ stdenv.mkDerivation { "--enable-multibyte" "--with-tcsetpgrp" "--enable-pcre" + "--enable-zprofile=${placeholder "out"}/etc/zprofile" ]; - preConfigure = '' - configureFlagsArray+=(--enable-zprofile=$out/etc/zprofile) - ''; # the zsh/zpty module is not available on hydra # so skip groups Y Z