aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/install.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-06-07 15:39:39 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-06-08 10:52:53 +0200
commitea5d9bf9916d532005842f220f7da6e522151f6a (patch)
tree28f9deb2d66a563b31a55bcba0167bc2794cd764 /gnu/system/install.scm
parentd1fe14be6a98bf8dec63bbee7ac82cd9fadc90f5 (diff)
downloadguix-ea5d9bf9916d532005842f220f7da6e522151f6a.tar
guix-ea5d9bf9916d532005842f220f7da6e522151f6a.tar.gz
system: install: Add default libcs to gc-roots.
During the installation, it may be needed to build locales that are not covered by glibc-utf8-locales. Make sure that the libraries required to build locales are available. This is a follow-up of 0eed77127592323d89f56c215a15374a1aaae110. * gnu/system/install.scm (installation-os)[services]: Add %default-locale-libcs to gc-root-service-type.
Diffstat (limited to 'gnu/system/install.scm')
-rw-r--r--gnu/system/install.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index fe49ffdb94..d0ff2e7c52 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -32,6 +32,7 @@
#:use-module ((guix packages) #:select (package-version))
#:use-module ((guix store) #:select (%store-prefix))
#:use-module (gnu installer)
+ #:use-module (gnu system locale)
#:use-module (gnu services dbus)
#:use-module (gnu services networking)
#:use-module (gnu services shepherd)
@@ -439,10 +440,12 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
;; things needed by 'profile-derivation' to minimize the amount of
;; download.
(service gc-root-service-type
- (list bare-bones-os
- glibc-utf8-locales
- texinfo
- guile-3.0))
+ (append
+ (list bare-bones-os
+ glibc-utf8-locales
+ texinfo
+ guile-3.0)
+ %default-locale-libcs))
;; Machines without Kernel Mode Setting (those with many old and
;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI