diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-06 21:01:43 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-06 21:09:41 +0000 |
commit | 7306c679126edc5305a0f1897967ea4fe003f092 (patch) | |
tree | 7bcae85764b8a76b8c72925f981800d937b79e40 | |
parent | 329fa5bdbb621dae586cbfb062cbd3b295880ba5 (diff) | |
download | guix-7306c679126edc5305a0f1897967ea4fe003f092.tar guix-7306c679126edc5305a0f1897967ea4fe003f092.tar.gz |
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.
-rw-r--r-- | gnu/packages/guile-xyz.scm | 9 |
1 files changed, 7 insertions, 2 deletions
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 |