about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-08-25 19:45:22 +0200
committerGitHub <noreply@github.com>2023-08-25 19:45:22 +0200
commit80ee147b6f4b2b4b2936bfe8730ab0fc9ba53dfa (patch)
treea43191cc597abcdbd6c16b50e1c8fafcf3d1dd90
parent3e025f13938264d3e9ba1ae443485100a674985a (diff)
parent1974feb428f9231fb9d5eb1f7a34c15e12604e71 (diff)
Merge pull request #251408 from matrss/disable-getoptions-tests-against-yash
getoptions: disable tests against yash
-rw-r--r--pkgs/tools/misc/getoptions/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/misc/getoptions/default.nix b/pkgs/tools/misc/getoptions/default.nix
index 46a6717072591..9860430515e4e 100644
--- a/pkgs/tools/misc/getoptions/default.nix
+++ b/pkgs/tools/misc/getoptions/default.nix
@@ -18,8 +18,11 @@ stdenvNoCC.mkDerivation rec {
   nativeCheckInputs = [ shellspec ksh mksh yash zsh ]
     ++ lib.lists.optional (!stdenvNoCC.isDarwin) busybox-sandbox-shell;
 
+  # Disable checks against yash, since shellspec seems to be broken for yash>=2.54
+  # (see: https://github.com/NixOS/nixpkgs/pull/218264#pullrequestreview-1434402054)
   preCheck = ''
     sed -i '/shellspec -s posh/d' Makefile
+    sed -i '/shellspec -s yash/d' Makefile
     '' + lib.strings.optionalString stdenvNoCC.isDarwin ''
     sed -i "/shellspec -s 'busybox ash'/d" Makefile
   '';