Merge pull request #30064 from gleber/patch-2
elixir: Fix locale problem on NixOS
This commit is contained in:
commit
18d2119aeb
@ -22,6 +22,8 @@ in
|
|||||||
|
|
||||||
buildInputs = [ erlang rebar makeWrapper ];
|
buildInputs = [ erlang rebar makeWrapper ];
|
||||||
|
|
||||||
|
LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
|
||||||
|
"${pkgs.glibcLocales}/lib/locale/locale-archive";
|
||||||
LANG = "en_US.UTF-8";
|
LANG = "en_US.UTF-8";
|
||||||
LC_TYPE = "en_US.UTF-8";
|
LC_TYPE = "en_US.UTF-8";
|
||||||
|
|
||||||
@ -30,8 +32,8 @@ in
|
|||||||
inherit debugInfo;
|
inherit debugInfo;
|
||||||
|
|
||||||
buildFlags = if debugInfo
|
buildFlags = if debugInfo
|
||||||
then "ERL_COMPILER_OPTIONS=debug_info"
|
then "ERL_COMPILER_OPTIONS=debug_info"
|
||||||
else "";
|
else "";
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
# The build process uses ./rebar. Link it to the nixpkgs rebar
|
# The build process uses ./rebar. Link it to the nixpkgs rebar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user