guix-commits
[Top][All Lists]
Advanced

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

16/16: system: hurd: Add guile-candy.


From: guix-commits
Subject: 16/16: system: hurd: Add guile-candy.
Date: Sat, 11 Apr 2020 15:09:15 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit 5084fd38541a5fc233f3299e10a33c3a38a7173f
Author: Ludovic Courtès <address@hidden>
AuthorDate: Wed Apr 8 23:10:14 2020 +0200

    system: hurd: Add guile-candy.
    
    * gnu/system/hurd.scm (%base-packages/hurd): Add GUILE-COLORIZED and
    GUILE-READLINE.
    (cross-hurd-image)[hurd-directives]: Add /root/.guile.
---
 gnu/system/hurd.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 322ac10..2583ff0 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -27,6 +27,7 @@
   #:use-module (gnu packages cross-base)
   #:use-module (gnu packages file)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages hurd)
   #:use-module (gnu system vm)
   #:export (cross-hurd-image))
@@ -49,7 +50,8 @@
                       #:target target))
 
 (define %base-packages/hurd
-  (list hurd bash coreutils file findutils grep sed guile-3.0
+  (list hurd bash coreutils file findutils grep sed
+        guile-3.0 guile-colorized guile-readline
         net-base inetutils))
 
 (define* (cross-hurd-image #:key (hurd hurd) (gnumach gnumach))
@@ -150,6 +152,11 @@ fi\n"))
 
       ;; TODO: Create those during activation, eventually.
       (directory "/root")
+      (file "/root/.guile"
+            ,(object->string
+              '(begin
+                 (use-modules (ice-9 readline) (ice-9 colorized))
+                 (activate-readline) (activate-colorized))))
       (directory "/run")
       (directory "/run/current-system")
       ("/run/current-system/profile" -> ,system-profile)



reply via email to

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