From da864ab387b3b5d1682dd96bca7f0ef0dcedaab8 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Sun, 26 Jan 2025 15:21:01 -0800 Subject: [PATCH] swtpm: fixup darwin builds --- pkgs/by-name/sw/swtpm/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/sw/swtpm/package.nix b/pkgs/by-name/sw/swtpm/package.nix index 55b82abe0335..3b3246aa689a 100644 --- a/pkgs/by-name/sw/swtpm/package.nix +++ b/pkgs/by-name/sw/swtpm/package.nix @@ -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'