Browse Source

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>
gn-latest-20200725
Vincent Legoll 1 year ago
committed by Tobias Geerinckx-Rice
parent
commit
ccd9107ed9
No known key found for this signature in database GPG Key ID: DB0FF884F556D79
  1. 3
      build-aux/update-guix-package.scm

3
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

Loading…
Cancel
Save