mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add patchelf-0.16.
* gnu/packages/elf.scm (patchelf-0.16): New variable. Change-Id: Ide4c547734156ffe909a6d010974a7450aaa45cd Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
516c63ef8c
commit
66db4f5c57
1 changed files with 27 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages elf)
|
(define-module (gnu packages elf)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
@ -320,6 +321,32 @@ (define-public patchelf
|
||||||
changed.")
|
changed.")
|
||||||
(license gpl3+)))
|
(license gpl3+)))
|
||||||
|
|
||||||
|
;; Newer patchelf may break binaries. e.g. When setting RUNPATH for a Go
|
||||||
|
;; program.
|
||||||
|
;; See also: https://github.com/NixOS/patchelf/issues/482
|
||||||
|
(define-public patchelf-0.16
|
||||||
|
(package
|
||||||
|
(inherit patchelf)
|
||||||
|
(name "patchelf")
|
||||||
|
(version "0.16.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/NixOS/patchelf/releases/download/"
|
||||||
|
version
|
||||||
|
"/patchelf-" version ".tar.bz2"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zdby3gpmm8q4735pviaq92zj41i2rdnhwhyrsb3sinc9hzmz4db"))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments patchelf)
|
||||||
|
((#:phases phases '%standard-phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'fix-tests 'skip-empty-rpath-test
|
||||||
|
(lambda _
|
||||||
|
(substitute* "tests/set-empty-rpath.sh"
|
||||||
|
(("^\\$\\{SCRATCH\\}\\/simple.$") ""))))))))))
|
||||||
|
|
||||||
(define-public libdwarf
|
(define-public libdwarf
|
||||||
(package
|
(package
|
||||||
(name "libdwarf")
|
(name "libdwarf")
|
||||||
|
|
Loading…
Reference in a new issue