gnu: bzip2: Patch bzip2 utilities.
* gnu/packages/compression.scm (bzip2)[arguments]: Add patch-script phase to remove absolute reference to /bin/rm. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
03bc86b8f4
commit
e7ee50f2d2
|
@ -254,6 +254,12 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in
|
|||
(copy-file file
|
||||
(string-append libdir "/" base))))
|
||||
(find-files "." "^libbz2\\.so")))
|
||||
#t))
|
||||
(add-after 'install-shared-lib 'patch-scripts
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out")))
|
||||
(substitute* (string-append out "/bin/bzdiff")
|
||||
(("/bin/rm") "rm")))
|
||||
#t)))
|
||||
|
||||
#:make-flags (list (string-append "PREFIX="
|
||||
|
|
Loading…
Reference in New Issue