build-system: binary: Add comment about patchelf version.

This is a followup to commit c7e6962eb3.

* nonguix/build-system/binary.scm (default-patchelf): Add comment and TODO
about using older patchelf-0.16 due to upstream bug.

Reported-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
John Kehayias 2024-11-10 16:24:17 -05:00
parent 425f3ee3dd
commit f82534a8a8
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -41,6 +41,10 @@
;; Do not use `@' to avoid introducing circular dependencies.
(let ((module (resolve-interface '(gnu packages elf))))
;; Use the older 0.16 version due to an upstream bug which can segfault
;; some binaries. See <https://github.com/NixOS/patchelf/issues/482>.
;; TODO: Set back to patchelf when the package has been updated (or
;; patched) to fix this issue.
(module-ref module 'patchelf-0.16)))
(define (default-glibc)