Commit 1974feb4 authored by Matthias Riße's avatar Matthias Riße
Browse files

getoptions: disable tests against yash

parent 6bc39510
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
  '';