gnu: zip: Use invoke instead of system*.
* gnu/packages/compression.scm (zip)[arguments]: Use invoke. Remove vestigial '#:modules' argument.
This commit is contained in:
parent
fa76696b00
commit
b0559d241b
|
@ -1706,14 +1706,11 @@ the actual decompression, the other input and output.")
|
||||||
(list "-f" "unix/Makefile"
|
(list "-f" "unix/Makefile"
|
||||||
(string-append "prefix=" out)
|
(string-append "prefix=" out)
|
||||||
(string-append "MANDIR=" out "/share/man/man1")))
|
(string-append "MANDIR=" out "/share/man/man1")))
|
||||||
#:modules ((guix build gnu-build-system)
|
|
||||||
(guix build utils)
|
|
||||||
(srfi srfi-1))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(zero? (apply system* "make" "generic_gcc" make-flags))))
|
(apply invoke "make" "generic_gcc" make-flags)))
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(home-page "http://www.info-zip.org/Zip.html")
|
(home-page "http://www.info-zip.org/Zip.html")
|
||||||
(synopsis "Compression and file packing utility")
|
(synopsis "Compression and file packing utility")
|
||||||
|
|
Loading…
Reference in New Issue