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