3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

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