gnu: guile-2.2.4: Fix build by using libxcrypt-without-failure-tokens.

* gnu/packages/guile.scm (guile-2.2.4): Use libxcrypt-without-failure-tokens.

Change-Id: I91d4d7287636f34aa64ce8d47736b14c311b7a62
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5624
This commit is contained in:
Hugo Buddelmeijer 2026-01-14 23:19:39 +01:00 committed by Rutherther
parent 044108d022
commit cfc5ec77a7
No known key found for this signature in database
GPG key ID: 0322798269E471C3

View file

@ -335,18 +335,21 @@ without requiring the source code to be rewritten.")
(files '("lib/guile/2.2/site-ccache"))))))) (files '("lib/guile/2.2/site-ccache")))))))
(define-public guile-2.2.4 (define-public guile-2.2.4
;; This has no dependencies, but is used in (guix quirks). ;; guile-2.2.4 has no dependents, but is used in (guix quirks).
;; Do not remove! ;; Do not remove!
(package (package
(inherit guile-2.2) (inherit guile-2.2)
(version "2.2.4") (version "2.2.4")
(source (origin (source
(inherit (package-source guile-2.2)) (origin
(uri (string-append "mirror://gnu/guile/guile-" version (inherit (package-source guile-2.2))
".tar.xz")) (uri (string-append "mirror://gnu/guile/guile-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32 "07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r"))))
"07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r")))))) ;; libxcrypt-without-failure-tokens uses --disable-failure-tokens, which is
;; necessary for the "crypt: glibc EINVAL" test of guile-2.2.4.
(inputs (modify-inputs (package-inputs guile-2.2)
(replace "libxcrypt" libxcrypt-without-failure-tokens)))))
(define-public guile-3.0 (define-public guile-3.0
;; This is the latest Guile stable version. ;; This is the latest Guile stable version.