From ccd9107ed9e8b918c6fb521cc69ac459fe4257ac Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Wed, 27 May 2020 23:13:48 +0200 Subject: [PATCH] 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 --- build-aux/update-guix-package.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ (define (main . args) #: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