diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9ef1a53fa6..cca6c866b0 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2016, 2017 Nikita ;;; Copyright © 2016, 2017, 2019, 2020 Eric Bavier ;;; Copyright © 2017 Pierre Langlois -;;; Copyright © 2018, 2020, 2021, 2023 Efraim Flashner +;;; Copyright © 2018, 2020, 2021, 2023, 2025 Efraim Flashner ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018 Nicolas Goaziou ;;; Copyright © 2018, 2020 Nicolò Balzarotti @@ -1663,8 +1663,9 @@ (define-public libxcrypt (native-inputs (list perl)) (arguments - (if (target-hurd64?) - (list + (cond + ((target-hurd64?) + (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'apply-hurd64-patch @@ -1672,8 +1673,10 @@ (define-public libxcrypt (let ((patch #$(local-file (search-patch "libxcrypt-hurd64.patch")))) - (invoke "patch" "--force" "-p1" "-i" patch)))))) - '())) + (invoke "patch" "--force" "-p1" "-i" patch))))))) + ((target-ppc32?) + (list #:tests? #f)) ; TODO: Investigate test failures. + (else '()))) (synopsis "Extended crypt library for descrypt, md5crypt, bcrypt, and others") (description