aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-03 17:29:10 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-03 19:12:16 +0100
commitaf4a761e97c309e3dce8ddf0cbbc1a369573199a (patch)
treea53d083ab8f23c467104a486dc36a06989b0a3b2
parentcdc938daf91f159e082c5b81a44b074f7bf6d991 (diff)
downloadguix-af4a761e97c309e3dce8ddf0cbbc1a369573199a.tar.gz
guix-af4a761e97c309e3dce8ddf0cbbc1a369573199a.zip
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.
-rw-r--r--gnu/system/install.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 3a34df26c3..4f0beef2bf 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.