me
/
guix
Archived
1
0
Fork 0

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>
master
Leo Nikkilä 2023-12-17 00:59:29 +02:00 committed by Mathieu Othacehe
parent 304d519386
commit d211e54510
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 5 additions and 1 deletions

View File

@ -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