guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: cryptsetup: Fix cross-compilation.


From: guix-commits
Subject: 02/02: gnu: cryptsetup: Fix cross-compilation.
Date: Sat, 23 Dec 2023 04:48:03 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit d211e54510d88b19a74383e780bdfe70b9686c8b
Author: Leo Nikkilä <hello@lnikki.la>
AuthorDate: Sun Dec 17 00:59:29 2023 +0200

    gnu: cryptsetup: Fix cross-compilation.
    
    * gnu/packages/cryptsetup.scm (cryptsetup): Set explicit
    `--with-libgcrypt-prefix' for cross-compilation.
    
    Change-Id: I39b8d07926865dd168f9db8d3eb84fafbf3f3c56
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/cryptsetup.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index d8a6437259..3bdc68ae5a 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -53,7 +53,11 @@
        ;; The default is OpenSSL which provides better PBKDF performance.
        "--with-crypto_backend=gcrypt"
        ;; GRUB 2.06 supports LUKS2, but does it reliably support all set-ups…?
-       "--with-default-luks-format=LUKS1")))
+       "--with-default-luks-format=LUKS1"
+       ;; libgcrypt is not found otherwise when cross-compiling.
+       ;; <https://issues.guix.gnu.org/63864>
+       (string-append "--with-libgcrypt-prefix="
+                      (assoc-ref %build-inputs "libgcrypt")))))
    (native-inputs
     (list pkg-config))
    (inputs



reply via email to

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