Revert "gnu: patchelf: Update argument phase."

It causes too many rebuilds this late in the 'staging' cycle.

This reverts commit c1d1cd817c.
This commit is contained in:
Marius Bakke 2018-03-19 23:46:25 +01:00
parent 24a2e9172a
commit b1d096f869
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 6 deletions

View File

@ -128,12 +128,14 @@ Executable and Linkable Format (@dfn{ELF}). This includes @command{ld},
'()))
(arguments
(if (target-arm32?)
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch/rework-for-arm
`(#: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")))
(invoke "patch" "--force" "-p1" "--input" patch-file))))))
(let ((patch-file
(assoc-ref inputs "patch/rework-for-arm")))
(zero? (system* "patch" "--force" "-p1"
"--input" patch-file))))
%standard-phases))
'()))
(home-page "https://nixos.org/patchelf.html")