mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: build-vm: Provide only one locale.
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system) [locale, locale-definitions]: New fields. Change-Id: Ieb24b3a0c210291d8c04412e4c263b5e377b5704
This commit is contained in:
parent
6228a2b8ba
commit
fb61323dba
1 changed files with 9 additions and 0 deletions
|
@ -46,6 +46,7 @@ (define-module (gnu services virtualization)
|
|||
#: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 @@ (define %minimal-vm-syslog-config
|
|||
(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"))))
|
||||
|
|
Loading…
Reference in a new issue