dvc pushed a commit to branch master in repository guix. commit 6976c68158e9c6bb264ca48041da5be1c24521cf Author: David Craven <da...@craven.ch> Date: Thu Dec 15 05:53:32 2016 +0100
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 2218731..2334c4c 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)