getoptions: disable tests against yash

This commit is contained in:
Matthias Riße 2023-08-25 19:05:14 +02:00
parent 6bc39510ae
commit 1974feb428

View file

@ -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
'';