summary refs log tree commit diff
path: root/pkgs/shells/zsh
diff options
context:
space:
mode:
authorChristian Albrecht <christian.albrecht@mayflower.de>2015-11-19 16:52:08 +0100
committerRobin Gloster <mail@glob.in>2015-11-26 09:59:27 +0000
commit97332d30f62b149aa81a63f798e7e53825e12663 (patch)
treefcd994b0383f83738b64267be1a33284056225a9 /pkgs/shells/zsh
parent70d7cfdb8c4bb970daff73418389d7dbadf69005 (diff)
downloadnixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar.gz
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar.bz2
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar.lz
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar.xz
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.tar.zst
nixlib-97332d30f62b149aa81a63f798e7e53825e12663.zip
zsh: re-enable tests skipping broken
Do not disable all tests, only those broken as zsh/zpty module is not
available on hydra.
Diffstat (limited to 'pkgs/shells/zsh')
-rw-r--r--pkgs/shells/zsh/default.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index 0e25bba9fe35..7b12ab7cab81 100644
--- a/pkgs/shells/zsh/default.nix
+++ b/pkgs/shells/zsh/default.nix
@@ -21,13 +21,19 @@ stdenv.mkDerivation {
 
   buildInputs = [ ncurses coreutils pcre ];
 
-  preConfigure = ''
-    configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre"
-  '';
+  configureFlags = [
+    "--enable-maildir-support"
+    "--enable-multibyte"
+    "--enable-zprofile=$out/etc/zprofile"
+    "--with-tcsetpgrp"
+    "--enable-pcre"
+  ];
 
-  # Some tests fail on hydra, see
-  # http://hydra.nixos.org/build/25637689/nixlog/1
-  doCheck = false;
+  # the zsh/zpty module is not available on hydra
+  # so skip groups Y Z
+  checkFlagsArray = ''
+    (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
   postInstall = ''