upstream: Determine archive type correctly.
* guix/upstream.scm (package-update): Take the basename of the uri before trying to determine the extension.
This commit is contained in:
parent
200cdf81c6
commit
6976c68158
|
@ -241,7 +241,7 @@ and 'interactive' (default)."
|
||||||
((archive-type)
|
((archive-type)
|
||||||
(match (and=> (package-source package) origin-uri)
|
(match (and=> (package-source package) origin-uri)
|
||||||
((? string? uri)
|
((? string? uri)
|
||||||
(file-extension uri))
|
(file-extension (basename uri)))
|
||||||
(_
|
(_
|
||||||
"gz")))
|
"gz")))
|
||||||
((url signature-url)
|
((url signature-url)
|
||||||
|
|
Loading…
Reference in New Issue