gnu: unzip: Use G-expressions.

* gnu/packages/compression.scm (unzip)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-07 02:00:00 +02:00
parent 5c131aff69
commit 36c5fa6c4d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1818,7 +1818,8 @@ Compression ratios of 2:1 to 3:1 are common for text files.")
(build-system gnu-build-system) (build-system gnu-build-system)
;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO ;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO
(arguments (arguments
`(#:phases (modify-phases %standard-phases (list #:phases
#~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-after 'unpack 'fortify (add-after 'unpack 'fortify
(lambda _ (lambda _
@ -1834,7 +1835,10 @@ Compression ratios of 2:1 to 3:1 are common for text files.")
(parallel-job-count)) (parallel-job-count))
,@make-flags ,@make-flags
"generic_gcc"))))) "generic_gcc")))))
#:make-flags (list "-f" "unix/Makefile" #:make-flags
;; Fix cross-compilation without affecting native builds, as doing so
;; would trigger too many rebuilds: https://issues.guix.gnu.org/57127
#~(list "-f" "unix/Makefile"
(string-append "prefix=" %output) (string-append "prefix=" %output)
(string-append "MANDIR=" %output "/share/man/man1")))) (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")