zsh: fix configureFlags #14256
commit 97332d3 introduced non expanding $out/etc/zprofile in zshs compiled in PATH.
this commit reverts the change so that $out is expanded at configure time.
commit9c6a69230dff8131130670b46c4590fb30cf6416
authorChristian Albrecht <christian.albrecht@mayflower.de>
dateThu 31 Mar 2016, 16:57 (11 years ago)
parent011f699
pkgs/shells/zsh/default.nix+3−7
@@ -21,13 +21,9 @@ stdenv.mkDerivation {
2121
2222 buildInputs = [ ncurses pcre ];
2323
24− configureFlags = [
25− "--enable-maildir-support"
26− "--enable-multibyte"
27− "--enable-zprofile=$out/etc/zprofile"
28− "--with-tcsetpgrp"
29− "--enable-pcre"
30− ];
24+ preConfigure = ''
25+ configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre"
26+ '';
3127
3228 # the zsh/zpty module is not available on hydra
3329 # so skip groups Y Z