summary refs log tree commit diff
path: root/gnu/packages/ninja.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-02-26 20:58:14 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-02-26 20:58:14 +0100
commit6d796220c417a34100c282a7fa1f9afb6ac00339 (patch)
treea31ad92b75431fde7e14bdbeb1e5a641a5a34567 /gnu/packages/ninja.scm
parentd0de4c40e24ee52e4382ee2ac82088932ab49099 (diff)
downloadguix-6d796220c417a34100c282a7fa1f9afb6ac00339.tar.gz
gnu: ninja: Patch /bin/echo in the correct file.
This is a follow-up to commit d0de4c40e24ee52e4382ee2ac82088932ab49099.

* gnu/packages/ninja.scm (ninja)[arguments]: Adjust substitution.
Diffstat (limited to 'gnu/packages/ninja.scm')
-rw-r--r--gnu/packages/ninja.scm3
1 files changed, 2 insertions, 1 deletions
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 @@
          (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 _