Browse Source

upstream: Determine archive type correctly.

* guix/upstream.scm (package-update): Take the basename of the uri
  before trying to determine the extension.
gn-latest-20200428
David Craven 5 years ago
parent
commit
6976c68158
No known key found for this signature in database GPG Key ID: C5E051C79C0BECDB
  1. 2
      guix/upstream.scm

2
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)

Loading…
Cancel
Save