diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-04-08 15:34:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-29 22:52:08 +0200 |
commit | fb61323dba0424e36ac5c4e4f0267e5a9c485277 (patch) | |
tree | 8cf97f8527988be3c17ce2558bf3900a0feee840 /gnu | |
parent | 6228a2b8bac30b502e69cfd372554103492ff96a (diff) |
services: build-vm: Provide only one locale.
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system)
[locale, locale-definitions]: New fields.
Change-Id: Ieb24b3a0c210291d8c04412e4c263b5e377b5704
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/virtualization.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index fc5adb94d0..d87e494348 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -46,6 +46,7 @@ #:use-module (gnu system shadow) #:autoload (gnu system vm) (linux-image-startup-command virtualized-operating-system) + #:autoload (gnu system locale) (locale-definition) #:use-module (gnu system) #:use-module (guix derivations) #:use-module (guix gexp) @@ -1190,6 +1191,14 @@ authpriv.*;auth.info /var/log/secure (define %virtual-build-machine-operating-system (operating-system (host-name "build-machine") + + (locale "en_US.utf8") + (locale-definitions + ;; Save space by providing only one locale. + (list (locale-definition (name "en_US.utf8") + (source "en_US") + (charset "UTF-8")))) + (bootloader (bootloader-configuration ;unused (bootloader grub-minimal-bootloader) (targets '("/dev/null")))) |