diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2020-06-07 15:39:39 +0200 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-06-08 10:52:53 +0200 |
| commit | ea5d9bf9916d532005842f220f7da6e522151f6a (patch) | |
| tree | 28f9deb2d66a563b31a55bcba0167bc2794cd764 | |
| parent | d1fe14be6a98bf8dec63bbee7ac82cd9fadc90f5 (diff) | |
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.
| -rw-r--r-- | gnu/system/install.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index fe49ffdb943..d0ff2e7c525 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #:use-module ((guix packages) #:select (package-version)) | 32 | #:use-module ((guix packages) #:select (package-version)) |
| 33 | #:use-module ((guix store) #:select (%store-prefix)) | 33 | #:use-module ((guix store) #:select (%store-prefix)) |
| 34 | #:use-module (gnu installer) | 34 | #:use-module (gnu installer) |
| 35 | #:use-module (gnu system locale) | ||
| 35 | #:use-module (gnu services dbus) | 36 | #:use-module (gnu services dbus) |
| 36 | #:use-module (gnu services networking) | 37 | #:use-module (gnu services networking) |
| 37 | #:use-module (gnu services shepherd) | 38 | #:use-module (gnu services shepherd) |
| @@ -439,10 +440,12 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m | |||
| 439 | ;; things needed by 'profile-derivation' to minimize the amount of | 440 | ;; things needed by 'profile-derivation' to minimize the amount of |
| 440 | ;; download. | 441 | ;; download. |
| 441 | (service gc-root-service-type | 442 | (service gc-root-service-type |
| 442 | (list bare-bones-os | 443 | (append |
| 443 | glibc-utf8-locales | 444 | (list bare-bones-os |
| 444 | texinfo | 445 | glibc-utf8-locales |
| 445 | guile-3.0)) | 446 | texinfo |
| 447 | guile-3.0) | ||
| 448 | %default-locale-libcs)) | ||
| 446 | 449 | ||
| 447 | ;; Machines without Kernel Mode Setting (those with many old and | 450 | ;; Machines without Kernel Mode Setting (those with many old and |
| 448 | ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI | 451 | ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI |
