diff --git a/guix/download.scm b/guix/download.scm index 55da2c1d37..50aa78fe0d 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -517,8 +517,8 @@ (define tar (mkdir #$output) (setenv "PATH" (string-append #$gzip "/bin")) (chdir #$output) - (zero? (system* (string-append #$tar "/bin/tar") - "xf" #$drv))) + (invoke (string-append #$tar "/bin/tar") + "xf" #$drv)) #:local-build? #t))) (define* (url-fetch/zipbomb url hash-algo hash @@ -546,8 +546,8 @@ (define unzip #~(begin (mkdir #$output) (chdir #$output) - (zero? (system* (string-append #$unzip "/bin/unzip") - #$drv))) + (invoke (string-append #$unzip "/bin/unzip") + #$drv)) #:local-build? #t))) (define* (download-to-store store url #:optional (name (basename url))