From 6976c68158e9c6bb264ca48041da5be1c24521cf Mon Sep 17 00:00:00 2001 From: David Craven Date: Thu, 15 Dec 2016 05:53:32 +0100 Subject: upstream: Determine archive type correctly. * guix/upstream.scm (package-update): Take the basename of the uri before trying to determine the extension. --- guix/upstream.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ and 'interactive' (default)." ((archive-type) (match (and=> (package-source package) origin-uri) ((? string? uri) - (file-extension uri)) + (file-extension (basename uri))) (_ "gz"))) ((url signature-url) -- cgit v1.2.3