mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: bash: Do not autoload (gcrypt hash).
Fixes <https://bugs.gnu.org/41457>. Reported by Matias Jose Seco Baccanelli <matias_jose_seco@autoproduzioni.net>. * 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.
This commit is contained in:
parent
21051eb79e
commit
50ea3135e0
1 changed files with 4 additions and 1 deletions
|
@ -38,8 +38,11 @@ (define-module (gnu packages bash)
|
|||
#: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))
|
||||
|
|
Loading…
Reference in a new issue