summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-12 00:56:51 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-12 01:04:27 +0200
commitca24b3fb45e8b2016a438b7478d29a5e8284280c (patch)
treeffcd0d6fa18d5f50d93cf002e3ce80d711f1d2d0
parent0a76d7a931e610b5163a870de508f576ee1fb6e2 (diff)
downloadguix-ca24b3fb45e8b2016a438b7478d29a5e8284280c.tar.gz
gnu: guile-lens: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-lens)[native-inputs]: Replace guile-2.2
with guile-3.0.
(guile2.2-lens): New variable.
-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 2ac86ba571..88a42c3b66 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3385,7 +3385,7 @@ as signed sessions, multipart message support, etc.")
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-         ("guile" ,guile-2.2)
+         ("guile" ,guile-3.0)
          ("guile-hall" ,guile-hall)
          ("pkg-config" ,pkg-config)
          ("texinfo" ,texinfo)))
@@ -3398,6 +3398,14 @@ provide composable procedures, which can be used to focus, apply functions
 over, or update a value in arbitrary data structures.")
       (license license:gpl3+))))
 
+(define-public guile2.2-lens
+  (package
+    (inherit guile-lens)
+    (name "guile2.2-lens")
+    (native-inputs
+     `(("guile" ,guile-2.2)
+       ,@(alist-delete "guile" (package-native-inputs guile-lens))))))
+
 (define-public guile-xapian
   (package
     (name "guile-xapian")