fix: set the location of `locale_archive` (#9207)

See https://nixos.wiki/wiki/Locales
This commit is contained in:
Kyle Carberry 2023-08-19 17:37:44 -05:00 committed by GitHub
parent 6b8102cf4c
commit 2c83bfdfa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@
kubectl
kubernetes-helm
less
# Needed for many LD system libs!
libuuid
mockgen
nfpm
nodejs
@ -115,6 +117,7 @@
# These will also be applied to the container config.
devEnvVars = [
"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
# our module path prefixes. It is required because these are in private
# repositories that require authentication.
@ -125,6 +128,7 @@
"NODE_OPTIONS=--max_old_space_size=8192"
"TERM=xterm-256color"
"LANG=en_US.UTF-8"
"LOCALE_ARCHIVE=/usr/lib/locale/locale-archive"
];
# Builds our development environment image with all the tools included.
# Using Nix instead of Docker is **significantly** faster. This _build_