mhw pushed a commit to branch kernel-updates
in repository guix.

commit f6ad574a93d9686f06730eda31502e808059a672
Author: Mark H Weaver <m...@netris.org>
Date:   Wed Apr 11 04:42:02 2018 -0400

    gnu: linux-libre: Add 'patch-/bin/pwd' phase.
    
    * gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd'
    phase.
---
 gnu/packages/linux.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 46d522e..f6d1796 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -311,6 +311,11 @@ for ARCH and optionally VARIANT, or #f if there is no such 
configuration."
                   (ice-9 match))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-/bin/pwd
+           (lambda _
+             (substitute* (find-files "." "^Makefile(\\.include)?$")
+               (("/bin/pwd") "pwd"))
+             #t))
          (replace 'configure
            (lambda* (#:key inputs native-inputs target #:allow-other-keys)
              ;; Avoid introducing timestamps

Reply via email to