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

View file

@ -128,12 +128,14 @@ (define-public patchelf
'()))
(arguments
(if (target-arm32?)
`(#: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))))))
`(#: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))
'()))
(home-page "https://nixos.org/patchelf.html")