guix-commits
[Top][All Lists]
Advanced

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

01/02: Handle the absence of guile3.0-readline in the guix-dev.scm file


From: Christopher Baines
Subject: 01/02: Handle the absence of guile3.0-readline in the guix-dev.scm file
Date: Sat, 6 Jun 2020 09:42:30 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit 91ba00e8138138a778618b35a275cafce8a98b96
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Jun 6 14:32:44 2020 +0100

    Handle the absence of guile3.0-readline in the guix-dev.scm file
---
 guix-dev.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/guix-dev.scm b/guix-dev.scm
index 6c8c2b6..0fafbff 100644
--- a/guix-dev.scm
+++ b/guix-dev.scm
@@ -55,6 +55,12 @@
    (native-inputs `(("guile" ,guile-3.0)
                     ,@(alist-delete "guile" (package-native-inputs 
guile-squee))))))
 
+(define guile3.0-readline
+  (if (defined? 'guile3.0-readline
+        (resolve-interface '(gnu packages guile)))
+      guile3.0-readline
+      guile-readline))
+
 (package
   (name "guix-data-service")
   (version "0.0.0")



reply via email to

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