From c31897055d90d38f7b3a89fff68964c25815269a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 22 Mar 2022 12:45:44 +0100 Subject: gnu: guile-fibers: Support cross-compilation. * gnu/packages/guile-xyz.scm (guile-fibers-1.1)[native-inputs]: Add GUILE-3.0. (guile2.2-fibers)[inputs, native-inputs]: Adjust accordingly. --- gnu/packages/guile-xyz.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 63fbf3c89f..f2e55cb3c8 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -640,10 +640,11 @@ Unix-style DSV format and RFC 4180 format.") #t)))))) (native-inputs (list texinfo pkg-config autoconf automake libtool + guile-3.0 ;for 'guild compile ;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS' gettext-minimal)) (inputs - (list guile-3.0)) + (list guile-3.0)) ;for libguile-3.0.so (synopsis "Lightweight concurrency facility for Guile") (description "Fibers is a Guile library that implements a a lightweight concurrency @@ -716,7 +717,12 @@ is not available for Guile 2.0.") (package (inherit guile-fibers-1.1) (name "guile2.2-fibers") - (inputs (list guile-2.2)))) + (inputs + (modify-inputs (package-inputs guile-fibers-1.1) + (replace "guile" guile-2.2))) + (native-inputs + (modify-inputs (package-native-inputs guile-fibers-1.1) + (replace "guile" guile-2.2))))) (define-public guile-filesystem (package -- cgit v1.2.3