gnu: unzip: Use invoke instead of system*.

* gnu/packages/compression.scm (unzip)[arguments]: Use invoke.
This commit is contained in:
Mark H Weaver 2018-03-16 02:42:05 -04:00
parent 144cc3c4af
commit fa76696b00
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -1765,11 +1765,11 @@ (define-public unzip
(delete 'configure)
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* "make"
`("-j" ,(number->string
(parallel-job-count))
,@make-flags
"generic_gcc"))))))
(apply invoke "make"
`("-j" ,(number->string
(parallel-job-count))
,@make-flags
"generic_gcc")))))
#:make-flags (list "-f" "unix/Makefile"
(string-append "prefix=" %output)
(string-append "MANDIR=" %output "/share/man/man1"))))