summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2024-11-10 16:24:17 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2024-11-10 16:24:17 -0500
commitf82534a8a884dd75862a9a989057e80d359841f2 (patch)
tree8992bb0fe27474fd03a7164e2528c62e0c7ad9e3
parent425f3ee3ddd0fbf758790b4d377c9f071cbf2bd9 (diff)
build-system: binary: Add comment about patchelf version.
This is a followup to commit c7e6962eb359493251220a1db174dde868013673. * 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>
-rw-r--r--nonguix/build-system/binary.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/nonguix/build-system/binary.scm b/nonguix/build-system/binary.scm
index eb2a72e..2eb1c30 100644
--- a/nonguix/build-system/binary.scm
+++ b/nonguix/build-system/binary.scm
@@ -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)