mirror of
https://github.com/coder/coder.git
synced 2026-10-29 17:44:33 +08:00
fix: set the location of locale_archive (#9207)
See https://nixos.wiki/wiki/Locales
This commit is contained in:
@@ -37,6 +37,8 @@
|
|||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
less
|
less
|
||||||
|
# Needed for many LD system libs!
|
||||||
|
libuuid
|
||||||
mockgen
|
mockgen
|
||||||
nfpm
|
nfpm
|
||||||
nodejs
|
nodejs
|
||||||
@@ -115,6 +117,7 @@
|
|||||||
# These will also be applied to the container config.
|
# These will also be applied to the container config.
|
||||||
devEnvVars = [
|
devEnvVars = [
|
||||||
"PATH=${pkgs.lib.makeBinPath (allPackages)}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
|
"PATH=${pkgs.lib.makeBinPath (allPackages)}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
|
||||||
|
"LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath allPackages}"
|
||||||
# This setting prevents Go from using the public checksum database for
|
# This setting prevents Go from using the public checksum database for
|
||||||
# our module path prefixes. It is required because these are in private
|
# our module path prefixes. It is required because these are in private
|
||||||
# repositories that require authentication.
|
# repositories that require authentication.
|
||||||
@@ -125,6 +128,7 @@
|
|||||||
"NODE_OPTIONS=--max_old_space_size=8192"
|
"NODE_OPTIONS=--max_old_space_size=8192"
|
||||||
"TERM=xterm-256color"
|
"TERM=xterm-256color"
|
||||||
"LANG=en_US.UTF-8"
|
"LANG=en_US.UTF-8"
|
||||||
|
"LOCALE_ARCHIVE=/usr/lib/locale/locale-archive"
|
||||||
];
|
];
|
||||||
# Builds our development environment image with all the tools included.
|
# Builds our development environment image with all the tools included.
|
||||||
# Using Nix instead of Docker is **significantly** faster. This _build_
|
# Using Nix instead of Docker is **significantly** faster. This _build_
|
||||||
|
|||||||
Reference in New Issue
Block a user