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'