guix-commits
[Top][All Lists]
Advanced

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

01/01: hydra: Set Guile load path in global environment.


From: Ricardo Wurmus
Subject: 01/01: hydra: Set Guile load path in global environment.
Date: Thu, 24 Aug 2017 05:26:01 -0400 (EDT)

rekado pushed a commit to branch master
in repository maintenance.

commit e78d175c300caecf9222f22720d2c0a6b410a62d
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Aug 24 11:24:55 2017 +0200

    hydra: Set Guile load path in global environment.
    
    * hydra/modules/sysadmin/build-machines.scm (berlin-build-machine-os):
    Add service to set GUILE_LOAD_PATH globally.
---
 hydra/modules/sysadmin/build-machines.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hydra/modules/sysadmin/build-machines.scm 
b/hydra/modules/sysadmin/build-machines.scm
index 4a1bd68..67bb893 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -107,7 +107,11 @@ the given AUTHORIZED-GUIX-KEYS."
                  %base-user-accounts))
 
     (packages (cons* openssh %base-packages))
-    (services (cons* (agetty-service (agetty-configuration
+    (services (cons* (simple-service 'guile-load-path-in-global-env
+                                     session-environment-service-type
+                                     `(("GUILE_LOAD_PATH"
+                                        . ,(file-append guile-2.2 
"/share/guile/site/2.2"))))
+                     (agetty-service (agetty-configuration
                                       (tty "ttyS1")
                                       (baud-rate "9600")))
                      (static-networking-service "enp0s8"



reply via email to

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