summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-22 14:47:40 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-24 12:45:47 +0100
commit9877408d2fe785c2de43e751cb4f6f53cc56283d (patch)
treedd2615f07bee5a92c7c001402a27e7ae708aa5e2
parentc31897055d90d38f7b3a89fff68964c25815269a (diff)
downloadguix-9877408d2fe785c2de43e751cb4f6f53cc56283d.tar.gz
gnu: guile-fibers: Remove GNU/Hurd from 'supported-systems'.
* gnu/packages/guile-xyz.scm (guile-fibers-1.1)[supported-systems]: New
field.
-rw-r--r--gnu/packages/guile-xyz.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f2e55cb3c8..3299b6cb74 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -129,7 +129,8 @@
   #:use-module (guix utils)
   #:use-module ((guix build utils) #:select (alist-replace))
   #:use-module (ice-9 match)
-  #:use-module ((srfi srfi-1) #:select (alist-delete)))
+  #:use-module ((srfi srfi-1) #:select (alist-delete))
+  #:use-module (srfi srfi-26))
 
 (define-public artanis
   (package
@@ -645,6 +646,11 @@ Unix-style DSV format and RFC 4180 format.")
            gettext-minimal))
     (inputs
      (list guile-3.0))                            ;for libguile-3.0.so
+    (supported-systems
+     ;; This version requires 'epoll' and is thus limited to Linux-based
+     ;; systems, but this may change soon:
+     ;; <https://github.com/wingo/fibers/pull/53>.
+     (filter (cut string-suffix? "-linux" <>) %supported-systems))
     (synopsis "Lightweight concurrency facility for Guile")
     (description
      "Fibers is a Guile library that implements a a lightweight concurrency