From bab883b981c42db07d33027c30724437aa914ead Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 4 Feb 2024 22:22:10 +0300 Subject: gnu: guile-ics: Fix cross-compilation. * gnu/packages/guile-xyz.scm (guile-ics): Fix cross-compilation. [native-inputs]: Add "guile-3.0", "guile-lib" and "guile-smc". (guile2.2-ics)[native-inputs]: Replace them with variants for Guile 2.2. Change-Id: Ie35f8087b1db30992f63edac8d303f854139ecbf Signed-off-by: Hilton Chain --- gnu/packages/guile-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu/packages/guile-xyz.scm') diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 57a4b84efe..ce0affdaea 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2196,7 +2196,11 @@ provides tight coupling to Guix.") texinfo gettext-minimal ;Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'. help2man - pkg-config)) + pkg-config + ;; needed when cross-compiling. + guile-3.0 + guile-lib + guile-smc)) (inputs (list guile-3.0)) (propagated-inputs (list guile-lib guile-smc guile-dsv)) (home-page "https://github.com/artyom-poptsov/guile-ics") @@ -2213,6 +2217,11 @@ The library is shipped with documentation in Info format and usage examples.") (package (inherit guile-ics) (name "guile2.2-ics") + (native-inputs + (modify-inputs (package-native-inputs guile-ics) + (replace "guile" guile-2.2) + (replace "guile-lib" guile2.2-lib) + (replace "guile-smc" guile2.2-smc))) (inputs (list guile-2.2)) (propagated-inputs (list guile2.2-lib guile2.2-dsv guile2.2-smc)))) -- cgit v1.2.3