aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2020-05-27 23:13:48 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-05-28 10:21:23 +0200
commitccd9107ed9e8b918c6fb521cc69ac459fe4257ac (patch)
tree73c492052fb6655f539eb5cc5fe288b58deb5b5a /build-aux
parent66e4db8cf828ba58bfd0bd5b41f38b93b5b71b3a (diff)
downloadguix-ccd9107ed9e8b918c6fb521cc69ac459fe4257ac.tar
guix-ccd9107ed9e8b918c6fb521cc69ac459fe4257ac.tar.gz
update-guix-package: Use 'origin-hash'.
* gnu/packages/package-management.scm (main): Use 'origin-hash' instead of 'origin-sha256'. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/update-guix-package.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/update-guix-package.scm b/build-aux/update-guix-package.scm
index 83f6eca6bb..f695e91cfd 100644
--- a/build-aux/update-guix-package.scm
+++ b/build-aux/update-guix-package.scm
@@ -112,7 +112,8 @@ COMMIT."
#:select? version-controlled?))
(hash (query-path-hash store source))
(location (package-definition-location))
- (old-hash (origin-sha256 (package-source guix))))
+ (old-hash (content-hash-value
+ (origin-hash (package-source guix)))))
(edit-expression location
(update-definition commit hash
#:old-hash old-hash