summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-12 01:01:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-12 01:04:27 +0200
commit24e38f24ddd0316fafc7ec160027b0f298925e86 (patch)
tree766493af5119ec20b46fd9f7680b7e066641c47a /gnu/packages
parentca24b3fb45e8b2016a438b7478d29a5e8284280c (diff)
downloadguix-24e38f24ddd0316fafc7ec160027b0f298925e86.tar.gz
gnu: guile-redis: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-redis)[native-inputs]: Replace guile-2.2
with guile-3.0.
(guile2.2-redis): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/guile-xyz.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 88a42c3b66..c5e33993cd 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2216,12 +2216,20 @@ interface for reading articles in any format.")
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
        ("pkg-config" ,pkg-config)
-       ("guile" ,guile-2.2)))
+       ("guile" ,guile-3.0)))
     (synopsis "Redis client library for Guile")
     (description "Guile-redis provides a Scheme interface to the Redis
 key-value cache and store.")
     (license license:lgpl3+)))
 
+(define-public guile2.2-redis
+  (package
+    (inherit guile-redis)
+    (name "guile2.2-redis")
+    (native-inputs `(("guile" ,guile-2.2)
+                     ,@(alist-delete "guile"
+                                     (package-native-inputs guile-redis))))))
+
 (define-public guile2.0-redis
   (package
     (inherit guile-redis)