swtpm: fixup darwin builds
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user