summaryrefslogtreecommitdiff
path: root/guix/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-27 14:56:23 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-27 14:59:42 +0100
commit42314ffa072f31cc1cb44df38b1f8fcca19d9d3c (patch)
tree528aba2eec665b8df8288420e5902681f5cc8f21 /guix/derivations.scm
parent1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2 (diff)
downloadguix-patches-42314ffa072f31cc1cb44df38b1f8fcca19d9d3c.tar
guix-patches-42314ffa072f31cc1cb44df38b1f8fcca19d9d3c.tar.gz
refresh: Update the source code URL.
Reported by Tobias Geerinckx-Rice <me@tobias.gr> in <https://bugs.gnu.org/35010>. * guix/upstream.scm (update-package-source): Take 'source' instead of 'version' as the second argument. [update-expression]: Change to take 'replacements', a list of replacement pairs. Compute OLD-URL and NEW-URL and replace the dirname of the OLD-URL with that of NEW-URL. * guix/scripts/refresh.scm (update-package): Adjust call to 'update-package-source' accordingly.
Diffstat (limited to 'guix/derivations.scm')
0 files changed, 0 insertions, 0 deletions