guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 2c1e7f1cc4cb2e28eec096c1ef0e251e93c62ce3
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Sep 16 19:00:22 2025 +0200

    import: elpa: Use guix-hash-url.
    
    * guix/import/elpa.scm (elpa-package->sexp): Use guix-hash-url.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 guix/import/elpa.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index 52d0513548..6c604d977a 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -44,10 +44,8 @@
   #:use-module (guix import utils)
   #:use-module (guix http-client)
   #:use-module (guix git)
-  #:use-module (guix hash)
   #:use-module (guix store)
   #:use-module ((guix utils) #:select (downstream-package-name))
-  #:use-module (guix base32)
   #:use-module (guix upstream)
   #:use-module (guix packages)
   #:use-module (guix memoization)
@@ -370,8 +368,7 @@ type '<elpa-package>'."
                         (sha256
                          (base32
                           ,(if tarball
-                               (bytevector->nix-base32-string
-                                (file-hash* tarball #:recursive? #false))
+                               (guix-hash-url tarball)
                                "failed to download package")))))))
       (build-system emacs-build-system)
       ,@(maybe-inputs 'propagated-inputs dependencies)

Reply via email to