Merge pull request #34689 from dtzWill/fix/zsh-modern
zsh: set configureFlags and checkFlags at nix level, also fix cross
This commit is contained in:
commit
a1fe3ee2f9
@ -20,15 +20,19 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ ncurses pcre ];
|
buildInputs = [ ncurses pcre ];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-maildir-support"
|
||||||
|
"--enable-multibyte"
|
||||||
|
"--with-tcsetpgrp"
|
||||||
|
"--enable-pcre"
|
||||||
|
];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre"
|
configureFlagsArray+=(--enable-zprofile=$out/etc/zprofile)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# the zsh/zpty module is not available on hydra
|
# the zsh/zpty module is not available on hydra
|
||||||
# so skip groups Y Z
|
# so skip groups Y Z
|
||||||
checkFlagsArray = ''
|
checkFlags = map (T: "TESTNUM=${T}") (stdenv.lib.stringToCharacters "ABCDEVW");
|
||||||
(TESTNUM=A TESTNUM=B TESTNUM=C TESTNUM=D TESTNUM=E TESTNUM=V TESTNUM=W)
|
|
||||||
'';
|
|
||||||
|
|
||||||
# XXX: think/discuss about this, also with respect to nixos vs nix-on-X
|
# XXX: think/discuss about this, also with respect to nixos vs nix-on-X
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user