gnu: unzip: Fix cross-compilation.
Fixes <https://issues.guix.gnu.org/57127>. * gnu/packages/compression.scm (unzip)[arguments]: Use #$output when cross-compiling.master
parent
36c5fa6c4d
commit
45db0ca5e9
|
@ -1838,9 +1838,13 @@ Compression ratios of 2:1 to 3:1 are common for text files.")
|
||||||
#:make-flags
|
#:make-flags
|
||||||
;; Fix cross-compilation without affecting native builds, as doing so
|
;; Fix cross-compilation without affecting native builds, as doing so
|
||||||
;; would trigger too many rebuilds: https://issues.guix.gnu.org/57127
|
;; would trigger too many rebuilds: https://issues.guix.gnu.org/57127
|
||||||
#~(list "-f" "unix/Makefile"
|
(if (%current-target-system)
|
||||||
(string-append "prefix=" %output)
|
#~(list "-f" "unix/Makefile"
|
||||||
(string-append "MANDIR=" %output "/share/man/man1"))))
|
(string-append "prefix=" #$output)
|
||||||
|
(string-append "MANDIR=" #$output "/share/man/man1"))
|
||||||
|
#~(list "-f" "unix/Makefile"
|
||||||
|
(string-append "prefix=" %output)
|
||||||
|
(string-append "MANDIR=" %output "/share/man/man1")))))
|
||||||
(home-page "http://www.info-zip.org/UnZip.html")
|
(home-page "http://www.info-zip.org/UnZip.html")
|
||||||
(synopsis "Decompression and file extraction utility")
|
(synopsis "Decompression and file extraction utility")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue