Skip to content

Commit a3b7b48

Browse files
kylecarbspull[bot]
authored andcommitted
fix: set the location of locale_archive (#9207)
See https://nixos.wiki/wiki/Locales
1 parent 675ef2c commit a3b7b48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
kubectl
3838
kubernetes-helm
3939
less
40+
# Needed for many LD system libs!
41+
libuuid
4042
mockgen
4143
nfpm
4244
nodejs
@@ -115,6 +117,7 @@
115117
# These will also be applied to the container config.
116118
devEnvVars = [
117119
"PATH=${pkgs.lib.makeBinPath (allPackages)}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
120+
"LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath allPackages}"
118121
# This setting prevents Go from using the public checksum database for
119122
# our module path prefixes. It is required because these are in private
120123
# repositories that require authentication.
@@ -125,6 +128,7 @@
125128
"NODE_OPTIONS=--max_old_space_size=8192"
126129
"TERM=xterm-256color"
127130
"LANG=en_US.UTF-8"
131+
"LOCALE_ARCHIVE=/usr/lib/locale/locale-archive"
128132
];
129133
# Builds our development environment image with all the tools included.
130134
# Using Nix instead of Docker is **significantly** faster. This _build_

0 commit comments

Comments
 (0)