aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-04-08 15:34:18 +0200
committerLudovic Courtès <ludo@gnu.org>2024-04-29 22:52:08 +0200
commitfb61323dba0424e36ac5c4e4f0267e5a9c485277 (patch)
tree8cf97f8527988be3c17ce2558bf3900a0feee840 /gnu/services
parent6228a2b8bac30b502e69cfd372554103492ff96a (diff)
downloadguix-fb61323dba0424e36ac5c4e4f0267e5a9c485277.tar
guix-fb61323dba0424e36ac5c4e4f0267e5a9c485277.tar.gz
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/services')
-rw-r--r--gnu/services/virtualization.scm9
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"))))