summaryrefslogtreecommitdiff
path: root/guix/download.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/download.scm')
-rw-r--r--guix/download.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/guix/download.scm b/guix/download.scm
index 5044534bf5..a91d924af8 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -514,8 +514,8 @@ own. This helper makes it easier to deal with \"tar bombs\"."
(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
@@ -543,8 +543,8 @@ own. This helper makes it easier to deal with \"zip bombs\"."
#~(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))