From 7306c679126edc5305a0f1897967ea4fe003f092 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 6 Dec 2020 21:01:43 +0000 Subject: gnu: guile-lib: Support cross-compilation. * gnu/packages/guile-xyz.scm (guile-lib)[native-inputs]: Add guile-3.0. (guile2.0-lib, guile2.2-lib)[native-inputs]: Explicitly specifiy pkg-config. --- gnu/packages/guile-xyz.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 54725cc00d..f49ddf9216 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2126,8 +2126,11 @@ library.") "godir = \ $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")) #t))))) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs `(("guile" ,guile-3.0))) + (native-inputs + `(("guile" ,guile-3.0) + ("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,guile-3.0))) (home-page "https://www.nongnu.org/guile-lib/") (synopsis "Collection of useful Guile Scheme modules") (description @@ -2145,12 +2148,14 @@ for Guile\".") (package (inherit guile-lib) (name "guile2.0-lib") + (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("guile" ,guile-2.0))))) (define-public guile2.2-lib (package (inherit guile-lib) (name "guile2.2-lib") + (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("guile" ,guile-2.2))))) (define-public guile3.0-lib -- cgit 1.4.1