summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-01-20 20:26:53 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-01-20 23:49:53 +0100
commitb0b725ed40f06f65f15994ea1e41347e708131ba (patch)
tree79fed4aef85f5a1048e4c3a56d4c97597df312b6
parent346386f3f7a3a00720e5423fa5900a1b3facb702 (diff)
downloadguix-b0b725ed40f06f65f15994ea1e41347e708131ba.tar.gz
gnu: Add guile3.0-wisp.
* gnu/packages/guile-xyz.scm (guile3.0-wisp): New variable.
-rw-r--r--gnu/packages/guile-xyz.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 2e768ad7da..58271364dc 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1569,6 +1569,22 @@ whitespace-significant language.  It may be easier on the eyes for some
 users and in some situations.")
     (license license:gpl3+)))
 
+(define-public guile3.0-wisp
+  (package
+    (inherit guile-wisp)
+    (name "guile3.0-wisp")
+    (inputs `(("guile" ,guile-3.0)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments guile-wisp)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'support-guile-3.0
+             (lambda _
+               (substitute* "configure"
+                 (("_guile_versions_to_search=\"2.2")
+                  "_guile_versions_to_search=\"3.0 2.2"))
+               #t))))))))
+
 (define-public guile-sly
   (package
     (name "guile-sly")