From 68982ea9383c2ea601fcb77b90d31d64b3c1b2ee Mon Sep 17 00:00:00 2001 From: Sean Haugh Date: Tue, 8 Jan 2019 04:11:37 -0600 Subject: [PATCH] zsh: move --enable-zprofile into configureFlags (#52718) --- pkgs/shells/zsh/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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