Merge pull request #251408 from matrss/disable-getoptions-tests-against-yash
getoptions: disable tests against yash
This commit is contained in:
commit
80ee147b6f
|
@ -18,8 +18,11 @@ stdenvNoCC.mkDerivation rec {
|
||||||
nativeCheckInputs = [ shellspec ksh mksh yash zsh ]
|
nativeCheckInputs = [ shellspec ksh mksh yash zsh ]
|
||||||
++ lib.lists.optional (!stdenvNoCC.isDarwin) busybox-sandbox-shell;
|
++ 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 = ''
|
preCheck = ''
|
||||||
sed -i '/shellspec -s posh/d' Makefile
|
sed -i '/shellspec -s posh/d' Makefile
|
||||||
|
sed -i '/shellspec -s yash/d' Makefile
|
||||||
'' + lib.strings.optionalString stdenvNoCC.isDarwin ''
|
'' + lib.strings.optionalString stdenvNoCC.isDarwin ''
|
||||||
sed -i "/shellspec -s 'busybox ash'/d" Makefile
|
sed -i "/shellspec -s 'busybox ash'/d" Makefile
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue