guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: guile-fibers: Support cross-compilation.


From: guix-commits
Subject: 01/06: gnu: guile-fibers: Support cross-compilation.
Date: Thu, 24 Mar 2022 07:56:37 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c31897055d90d38f7b3a89fff68964c25815269a
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Tue Mar 22 12:45:44 2022 +0100

    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(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]