gnu: zip: Use invoke instead of system*.

* gnu/packages/compression.scm (zip)[arguments]: Use invoke.  Remove vestigial
  '#:modules' argument.
master
Mark H Weaver 2018-03-16 02:41:13 -04:00
parent fa76696b00
commit b0559d241b
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 1 additions and 4 deletions

View File

@ -1706,14 +1706,11 @@ the actual decompression, the other input and output.")
(list "-f" "unix/Makefile"
(string-append "prefix=" out)
(string-append "MANDIR=" out "/share/man/man1")))
#:modules ((guix build gnu-build-system)
(guix build utils)
(srfi srfi-1))
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(zero? (apply system* "make" "generic_gcc" make-flags))))
(apply invoke "make" "generic_gcc" make-flags)))
(delete 'configure))))
(home-page "http://www.info-zip.org/Zip.html")
(synopsis "Compression and file packing utility")