diff options
author | Andrew Bruce <me@andrewbruce.net> | 2023-09-02 12:01:21 +0100 |
---|---|---|
committer | Andrew Bruce <me@andrewbruce.net> | 2023-09-02 12:14:21 +0100 |
commit | 56f1e95e095d56d1184e405d3c114afa8473332a (patch) | |
tree | bd9817010d2cf8a2ed4ee2ed83d71a005d5e4da1 /pkgs/development/beam-modules/build-mix.nix | |
parent | 0d5eee36d1417f52e5317022ebb3503ba4e5cd14 (diff) |
buildMix: use C.UTF-8 locale
Avoid the following during mix builds: warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8.
Diffstat (limited to 'pkgs/development/beam-modules/build-mix.nix')
-rw-r--r-- | pkgs/development/beam-modules/build-mix.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/beam-modules/build-mix.nix b/pkgs/development/beam-modules/build-mix.nix index 081d4988bace0..69e6c6c6e3b0b 100644 --- a/pkgs/development/beam-modules/build-mix.nix +++ b/pkgs/development/beam-modules/build-mix.nix @@ -28,6 +28,7 @@ let MIX_ENV = mixEnv; MIX_DEBUG = if enableDebugInfo then 1 else 0; HEX_OFFLINE = 1; + LC_ALL = "C.UTF-8"; # add to ERL_LIBS so other modules can find at runtime. # http://erlang.org/doc/man/code.html#code-path |