summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-02-26 19:57:53 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-02-26 20:37:04 +0100
commitd0de4c40e24ee52e4382ee2ac82088932ab49099 (patch)
tree3d9021b31d5dba82130d2d4651d719fbf486b92f
parent5697897537b410f6e16aef80028928c05b437398 (diff)
downloadguix-d0de4c40e24ee52e4382ee2ac82088932ab49099.tar.gz
gnu: ninja: Patch hard-coded /bin/echo reference.
Solves a test failure on systems where open file limits are high enough for
this test to run.  See <https://bugs.gnu.org/30601>.

* gnu/packages/ninja.scm (ninja)[arguments]: Add substitution.
-rw-r--r--gnu/packages/ninja.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
index adb236484f..779b6ab673 100644
--- a/gnu/packages/ninja.scm
+++ b/gnu/packages/ninja.scm
@@ -47,6 +47,7 @@
          (replace 'configure
            (lambda _
              (substitute* "src/subprocess-posix.cc"
+               (("/bin/echo") (which "echo"))
                (("/bin/sh") (which "sh")))
              #t))
          (replace 'build