diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm index 779b6ab673..5a168a6ada 100644 --- a/gnu/packages/ninja.scm +++ b/gnu/packages/ninja.scm @@ -47,8 +47,9 @@ (define-public ninja (replace 'configure (lambda _ (substitute* "src/subprocess-posix.cc" - (("/bin/echo") (which "echo")) (("/bin/sh") (which "sh"))) + (substitute* "src/subprocess_test.cc" + (("/bin/echo") (which "echo"))) #t)) (replace 'build (lambda _