build-system: binary: Use patchelf-0.16 by default.

Newer patchelf may break binaries.

This commit replaces patchelf with patchelf-0.16 for binary-build-system and
nvidia-driver (known affected package).

Fixes: https://gitlab.com/nonguix/nonguix/-/issues/350

* nonguix/build-system/binary.scm (default-patchelf): Replace patchelf with
patchelf-0.16.
* nongnu/packages/nvidia.scm (nvidia-driver)[native-inputs]: Likewise.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Hilton Chain 2024-11-03 00:18:52 +08:00 committed by John Kehayias
parent 3b78eca656
commit c7e6962eb3
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9
2 changed files with 2 additions and 2 deletions

View file

@ -433,7 +433,7 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
(list soname base))))))
(find-files #$output "\\.so\\.")))))))
(supported-systems '("i686-linux" "x86_64-linux"))
(native-inputs (list patchelf))
(native-inputs (list patchelf-0.16))
(inputs
(list egl-gbm
egl-wayland

View file

@ -41,7 +41,7 @@
;; Do not use `@' to avoid introducing circular dependencies.
(let ((module (resolve-interface '(gnu packages elf))))
(module-ref module 'patchelf)))
(module-ref module 'patchelf-0.16)))
(define (default-glibc)
"Return the default glibc package."