diff --git a/guix/upstream.scm b/guix/upstream.scm index 22187311ea..2334c4c0a6 100644 --- a/guix/upstream.scm +++ b/guix/upstream.scm @@ -241,7 +241,7 @@ (define* (package-update store package updaters ((archive-type) (match (and=> (package-source package) origin-uri) ((? string? uri) - (file-extension uri)) + (file-extension (basename uri))) (_ "gz"))) ((url signature-url)