upstream: 'package-update' returns the <upstream-source> object.
authorLudovic Courtès <ludo@gnu.org>
Wed, 27 Mar 2019 13:42:07 +0000 (14:42 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 27 Mar 2019 13:59:41 +0000 (14:59 +0100)
commit1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2
tree09b0cc5397ffb9f74bc85965e461eafc1413cf1b
parent18c51cf3d3dff9d6657049356c96e56eacdc8275
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.
guix/scripts/refresh.scm
guix/upstream.scm