guix-commits
[Top][All Lists]
Advanced

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

03/03: hydra: build-machines: Add Guile 3.0.4 for the system profile of


From: Ludovic Courtès
Subject: 03/03: hydra: build-machines: Add Guile 3.0.4 for the system profile of childhurds.
Date: Fri, 2 Oct 2020 04:46:16 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit cdef930632d0a94b0d92bf4f5fc7227e75c6eb10
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 2 10:43:50 2020 +0200

    hydra: build-machines: Add Guile 3.0.4 for the system profile of childhurds.
    
    * hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os)
    [childhurd-os](packages): New field.
---
 hydra/modules/sysadmin/build-machines.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/hydra/modules/sysadmin/build-machines.scm 
b/hydra/modules/sysadmin/build-machines.scm
index f948aea..ba70b3c 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -27,6 +27,7 @@
   #:use-module (gnu services monitoring)
   #:use-module (gnu services networking)
   #:use-module (gnu services virtualization)
+  #:use-module (gnu packages guile)
   #:use-module (guix gexp)
   #:use-module (guix records)
   #:use-module (sysadmin people)
@@ -120,6 +121,18 @@ EMULATED-ARCHITECTURES, unless it's empty."
                      (home-directory "/home/hydra")
                      (comment "Hydra User -- for offloading"))
                     %base-user-accounts))
+
+      ;; Currently the 'guix' command runs on GUILE-3.0-LATEST (aka. 3.0.4).
+      ;; Make sure this is also the one in $PATH since it has incompatible
+      ;; bytecode and since 'guix offload' invokes both 'guile' and 'guix'.
+      ;; Not doing it is OK but it also means that 'guile' will end up
+      ;; recompiling all the Guix modules for which it only has incompatible
+      ;; .go files, which takes time.
+      (packages (cons guile-3.0-latest
+                      (delq guile-3.0
+                            (operating-system-packages
+                             %hurd-vm-operating-system))))
+
       (services
        (cons* (service mcron-service-type
                        (mcron-configuration



reply via email to

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