[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: linux-libre: Add 'patch-/bin/pwd' phase.
From: |
Mark H. Weaver |
Subject: |
01/02: gnu: linux-libre: Add 'patch-/bin/pwd' phase. |
Date: |
Wed, 11 Apr 2018 15:06:31 -0400 (EDT) |
mhw pushed a commit to branch master
in repository guix.
commit c5bd8753be4521eab22935551efc9d8ccfb9f177
Author: Mark H Weaver <address@hidden>
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 e774dbb..c24f024 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