diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-03-22 12:45:44 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-24 12:45:47 +0100 |
commit | c31897055d90d38f7b3a89fff68964c25815269a (patch) | |
tree | ef03b10f2e1dce57218d7d3dc273e1b4cb861590 | |
parent | 24cbe07ae63e662aea49dabba71f9cec1d645157 (diff) | |
download | guix-c31897055d90d38f7b3a89fff68964c25815269a.tar.gz guix-c31897055d90d38f7b3a89fff68964c25815269a.zip |
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.
-rw-r--r-- | gnu/packages/guile-xyz.scm | 10 |
1 files changed, 8 insertions, 2 deletions
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 |