summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-27 00:11:44 +0000
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-12 08:29:21 -0400
commit0141e00b1481b1a672facff58fd971d0077edb51 (patch)
treebebbb88efa470a26d43d93c8a6e723d89f70e142 /tests
parenta1fa23014718a63dca400f5db7800b72024cee28 (diff)
downloadguix-0141e00b1481b1a672facff58fd971d0077edb51.tar.gz
packages: Remove 'origin-sha256' procedure.
* guix/packages.scm (origin-sha256): Remove procedure.
* tests/import-utils.scm (test-import-utils)
[alist->package with explicit source]: Use content-hash-value.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/import-utils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/import-utils.scm b/tests/import-utils.scm
index 44dff14597..1565dd610a 100644
--- a/tests/import-utils.scm
+++ b/tests/import-utils.scm
@@ -141,7 +141,7 @@ Differences are hard to spot, e.g. in CLOS vs. GOOPS."))
          (license:license? (package-license pkg))
          (build-system? (package-build-system pkg))
          (origin? (package-source pkg))
-         (equal? (origin-sha256 (package-source pkg))
+         (equal? (content-hash-value (origin-hash (package-source pkg)))
                  (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))))
 
 (test-equal "alist->package with false license"  ;<https://bugs.gnu.org/30470>