summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
Diffstat (limited to 'guix')
-rw-r--r--guix/utils.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/utils.scm b/guix/utils.scm
index 2dd1ddeb8a..05af86fc37 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -696,6 +696,7 @@ VERSIONS. For example:
(define (tarball-sans-extension tarball)
"Return TARBALL without its .tar.* or .zip extension."
(let ((end (or (string-contains tarball ".tar")
+ (string-contains tarball ".tgz")
(string-contains tarball ".zip"))))
(substring tarball 0 end)))