aboutsummaryrefslogtreecommitdiff
path: root/guix/upstream.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-27 14:42:07 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-27 14:59:41 +0100
commit1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2 (patch)
tree09b0cc5397ffb9f74bc85965e461eafc1413cf1b /guix/upstream.scm
parent18c51cf3d3dff9d6657049356c96e56eacdc8275 (diff)
downloadguix-1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2.tar
guix-1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2.tar.gz
upstream: 'package-update' returns the <upstream-source> object.
Fixes a regression introduced in abd4d6b33dba4de228e90ad15a8efb456fcf7b6e, where CHANGES would no longer be a thunk. Reported by Ricardo Wurmus. * guix/upstream.scm (package-update/url-fetch): Return SOURCE as the third value instead of CHANGES. * guix/scripts/refresh.scm (update-package): Adjust accordingly.
Diffstat (limited to 'guix/upstream.scm')
-rw-r--r--guix/upstream.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/upstream.scm b/guix/upstream.scm
index 55683dd9b7..2c70b3422d 100644
--- a/guix/upstream.scm
+++ b/guix/upstream.scm
@@ -344,10 +344,10 @@ values: the item from LST1 and the item from LST2 that match PRED."
(define* (package-update/url-fetch store package source
#:key key-download)
- "Return the version, tarball, and input changes needed to update PACKAGE to
+ "Return the version, tarball, and SOURCE, to update PACKAGE to
SOURCE, an <upstream-source>."
(match source
- (($ <upstream-source> _ version urls signature-urls changes)
+ (($ <upstream-source> _ version urls signature-urls)
(let*-values (((archive-type)
(match (and=> (package-source package) origin-uri)
((? string? uri)
@@ -371,7 +371,7 @@ SOURCE, an <upstream-source>."
(or signature-urls (circular-list #f)))))
(let ((tarball (download-tarball store url signature-url
#:key-download key-download)))
- (values version tarball changes))))))
+ (values version tarball source))))))
(define %method-updates
;; Mapping of origin methods to source update procedures.