summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-10-18 14:17:42 +0200
committerLudovic Courtès <ludo@gnu.org>2022-10-18 14:26:46 +0200
commitd5f07aa8328f524dfb7546a743fe57059bf25f5e (patch)
tree4636ebd1461e8fde3f3012e68d6e127c6899f7ed /gnu
parent0289312bc9305614afdd53aee48069e0b44e78c8 (diff)
downloadguix-d5f07aa8328f524dfb7546a743fe57059bf25f5e.tar.gz
gnu: guile-gnutls: Fix cross-crompilation.
* gnu/packages/tls.scm (guile-gnutls)[source]: Add "gnutls-cross.patch".
[native-inputs]: Add 'gnutls'.
[inputs]: Add 'guile-3.0'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tls.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 4d1dc77d7f..3e0210f661 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -385,7 +385,8 @@ required structures.")
               (sha256
                (base32
                 "00sfpqjmd263ka51fq4xf7nvaaxyfqsr3r8fj94jgx45q6q6n6wq"))
-              (file-name (git-file-name name version))))
+              (file-name (git-file-name name version))
+              (patches (search-patches "gnutls-cross.patch"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags
@@ -404,9 +405,11 @@ required structures.")
            libtool
            pkg-config
            texinfo
+           gnutls                 ;XXX: 'guile-snarf' invokes the native 'cpp'
            guile-3.0))
     (inputs
-     (list gnutls-latest))
+     (list gnutls-latest
+           guile-3.0))
     (synopsis "Guile bindings to GnuTLS")
     (description
      "This package provides Guile bindings to GnuTLS, a library implementation