gnu: linux-libre: Add 'patch-/bin/pwd' phase.

* gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd'
phase.
This commit is contained in:
Mark H Weaver 2018-04-11 04:42:02 -04:00
parent 0d91cd07a2
commit c5bd8753be
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 5 additions and 0 deletions

View File

@ -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