mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
environment: Set LANG by default.
* guix/scripts/environment.scm (launch-environment/container): Set LANG to C.UTF-8 unless already set. Change-Id: I2dba595c8d5f4e9b45264f8185c72779fead2ce6 Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
This commit is contained in:
parent
4b9d14378f
commit
5c5c5a6e58
1 changed files with 3 additions and 0 deletions
|
@ -936,6 +936,9 @@ WHILE-LIST."
|
|||
(setenv variable value)))
|
||||
environ)
|
||||
|
||||
(unless (getenv "LANG")
|
||||
(setenv "LANG" "C.UTF-8"))
|
||||
|
||||
(primitive-exit/status
|
||||
;; A container's environment is already purified, so no need to
|
||||
;; request it be purified again.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue