Unverified Commit 80ee147b authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

Merge pull request #251408 from matrss/disable-getoptions-tests-against-yash

getoptions: disable tests against yash
parents 3e025f13 1974feb4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
  '';