File tree 1 file changed +16
-10
lines changed 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 109
109
# Increase memory allocation to NodeJS
110
110
"NODE_OPTIONS=--max_old_space_size=8192"
111
111
"TERM=xterm-256color"
112
+ "LANG=en_US.UTF-8"
112
113
] ;
113
114
# Builds our development environment image with all the tools included.
114
115
# Using Nix instead of Docker is **significantly** faster. This _build_
179
180
( builtins . readFile "${ pkgs . cacert } /etc/ssl/certs/ca-bundle.crt" )
180
181
)
181
182
] ;
183
+ # Required for the UTF-8 locale to exist!
184
+ extraCommands = ''
185
+ mkdir -p usr/lib/locale
186
+ cp ${ pkgs . glibcLocales } /lib/locale/locale-archive usr/lib/locale/locale-archive
187
+ '' ;
182
188
183
- config = {
184
- Env = devEnvVars ;
185
- Entrypoint = [ "/bin/bash" ] ;
186
- User = "coder" ;
187
- } ;
189
+ config = {
190
+ Env = devEnvVars ;
191
+ Entrypoint = [ "/bin/bash" ] ;
192
+ User = "coder" ;
193
+ } ;
188
194
} ;
189
- in
190
- {
195
+ in
196
+ {
191
197
packages = {
192
198
devEnvImage = devEnvImage ;
193
199
} ;
194
200
defaultPackage = formatter ; # or replace it with your desired default package.
195
201
devShell = pkgs . mkShell { buildInputs = devShellPackages ; } ;
196
- }
197
- ) ;
198
- }
202
+ }
203
+ ) ;
204
+ }
You can’t perform that action at this time.
0 commit comments