swtpm: fixup darwin builds

This commit is contained in:
Arthur Gautier
2025-01-26 15:21:32 -08:00
parent b8ea3c5786
commit da864ab387
+1 -1
View File
@@ -96,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
# stat: invalid option -- '%'
# This is caused by the stat program not being the BSD version,
# as is expected by the test
substituteInPlace tests/common --replace \
substituteInPlace tests/common tests/sed-inplace --replace \
'if [[ "$(uname -s)" =~ (Linux|CYGWIN_NT-) ]]; then' \
'if [[ "$(uname -s)" =~ (Linux|Darwin|CYGWIN_NT-) ]]; then'