guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: bash: Do not autoload (gcrypt hash).


From: guix-commits
Subject: branch master updated: gnu: bash: Do not autoload (gcrypt hash).
Date: Fri, 22 May 2020 12:54:56 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 50ea313  gnu: bash: Do not autoload (gcrypt hash).
50ea313 is described below

commit 50ea3135e0948a042cd3b899e970f6ade291a0c2
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri May 22 18:34:22 2020 +0200

    gnu: bash: Do not autoload (gcrypt hash).
    
    Fixes <https://bugs.gnu.org/41457>.
    Reported by Matias Jose Seco Baccanelli <address@hidden>.
    
    * gnu/packages/bash.scm: Avoid #:autoload for (gcrypt hash).  On Guile 2.2,
    autoloading would bring it not only the 'port-sha256' binding (as on
    3.0) but also the 'sha256' binding.  As a result, use of 'sha256' in the
    'origin' form wouldn't match.
---
 gnu/packages/bash.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 311e07a..3ba8a13 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -38,8 +38,11 @@
   #:use-module (guix store)
   #:use-module (guix build-system gnu)
   #:autoload   (guix gnupg) (gnupg-verify*)
-  #:autoload   (gcrypt hash) (port-sha256)
   #:autoload   (guix base32) (bytevector->nix-base32-string)
+
+  ;; See <https://bugs.gnu.org/41457> for why not #:autoload here.
+  #:use-module ((gcrypt hash) #:select (port-sha256))
+
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:use-module (ice-9 format))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]