Revert "Revert "gnu: patchelf: Update argument phase.""
This change only affects armhf, which doesn't use PatchELF. My bad!
This reverts commit b1d096f869
.
This commit is contained in:
parent
061f204dcd
commit
dbc75dadb5
|
@ -128,14 +128,12 @@ Executable and Linkable Format (@dfn{ELF}). This includes @command{ld},
|
|||
'()))
|
||||
(arguments
|
||||
(if (target-arm32?)
|
||||
`(#:phases (alist-cons-after
|
||||
'unpack 'patch/rework-for-arm
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((patch-file
|
||||
(assoc-ref inputs "patch/rework-for-arm")))
|
||||
(zero? (system* "patch" "--force" "-p1"
|
||||
"--input" patch-file))))
|
||||
%standard-phases))
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch/rework-for-arm
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((patch-file (assoc-ref inputs "patch/rework-for-arm")))
|
||||
(invoke "patch" "--force" "-p1" "--input" patch-file))))))
|
||||
'()))
|
||||
|
||||
(home-page "https://nixos.org/patchelf.html")
|
||||
|
|
Loading…
Reference in New Issue