guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: Add guile3.0-wisp.


From: guix-commits
Subject: 02/03: gnu: Add guile3.0-wisp.
Date: Mon, 20 Jan 2020 17:50:58 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit b0b725ed40f06f65f15994ea1e41347e708131ba
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Mon Jan 20 20:26:53 2020 +0100

    gnu: Add guile3.0-wisp.
    
    * gnu/packages/guile-xyz.scm (guile3.0-wisp): New variable.
---
 gnu/packages/guile-xyz.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 2e768ad..5827136 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")



reply via email to

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