gnu: bzip2: Use install-file.
* gnu/packages/compression.scm (bzip2)[arguments]: Use simpler install-file instead of copy-file. Remove let binding for (now) single-use basename.
This commit is contained in:
parent
5ecc917d5a
commit
4082f8ed34
|
@ -272,11 +272,9 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in
|
|||
(let* ((out (assoc-ref outputs "out"))
|
||||
(libdir (string-append out "/lib")))
|
||||
(for-each (lambda (file)
|
||||
(let ((base (basename file)))
|
||||
(format #t "installing `~a' to `~a'~%"
|
||||
base libdir)
|
||||
(copy-file file
|
||||
(string-append libdir "/" base))))
|
||||
(format #t "installing `~a' to `~a'~%"
|
||||
(basename file) libdir)
|
||||
(install-file file libdir))
|
||||
(find-files "." "^libbz2\\.so")))
|
||||
#t))
|
||||
(add-after 'install-shared-lib 'patch-scripts
|
||||
|
|
Loading…
Reference in New Issue