guix-commits
[Top][All Lists]
Advanced

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

02/05: install: Add the prerequisites of 'profile-derivation' as GC root


From: Ludovic Courtès
Subject: 02/05: install: Add the prerequisites of 'profile-derivation' as GC roots.
Date: Sun, 3 Dec 2017 14:23:27 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit af4a761e97c309e3dce8ddf0cbbc1a369573199a
Author: Ludovic Courtès <address@hidden>
Date:   Sun Dec 3 17:29:10 2017 +0100

    install: Add the prerequisites of 'profile-derivation' as GC roots.
    
    * gnu/system/install.scm (%installation-services): Add
    GLIBC-UTF8-LOCALES, TEXINFO, and GUILE-FINAL as GC roots.
---
 gnu/system/install.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 3a34df2..4f0beef 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages admin)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bootloaders)
+  #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages cryptsetup)
@@ -275,8 +276,14 @@ You have been warned.  Thanks for being so brave.
                                               "/bin/sh"))))
 
           ;; Keep a reference to BARE-BONES-OS to make sure it can be
-          ;; installed without downloading/building anything.
-          (service gc-root-service-type (list bare-bones-os)))))
+          ;; installed without downloading/building anything.  Also keep the
+          ;; things needed by 'profile-derivation' to minimize the amount of
+          ;; download.
+          (service gc-root-service-type
+                   (list bare-bones-os
+                         glibc-utf8-locales
+                         texinfo
+                         (canonical-package guile-2.2))))))
 
 (define %issue
   ;; Greeting.



reply via email to

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