more stable override for ex_cldr
This commit is contained in:
parent
059814f751
commit
bedada2efc
|
@ -35,15 +35,15 @@ mixRelease rec {
|
||||||
fast_html = prev.fast_html.override {
|
fast_html = prev.fast_html.override {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
};
|
};
|
||||||
ex_cldr = prev.ex_cldr.overrideAttrs (old: rec {
|
ex_cldr = prev.ex_cldr.overrideAttrs (old: {
|
||||||
version = "2.37.5";
|
|
||||||
# We have to use the GitHub sources, as it otherwise tries to download
|
# We have to use the GitHub sources, as it otherwise tries to download
|
||||||
# the locales at build time.
|
# the locales at build time.
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elixir-cldr";
|
owner = "elixir-cldr";
|
||||||
repo = "cldr";
|
repo = "cldr";
|
||||||
rev = "v${version}";
|
rev = "v${old.version}";
|
||||||
sha256 = "sha256-T5Qvuo+xPwpgBsqHNZYnTCA4loToeBn1LKTMsDcCdYs=";
|
sha256 = assert old.version == "2.37.5";
|
||||||
|
"sha256-T5Qvuo+xPwpgBsqHNZYnTCA4loToeBn1LKTMsDcCdYs=";
|
||||||
};
|
};
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp $src/priv/cldr/locales/* $out/lib/erlang/lib/ex_cldr-${old.version}/priv/cldr/locales/
|
cp $src/priv/cldr/locales/* $out/lib/erlang/lib/ex_cldr-${old.version}/priv/cldr/locales/
|
||||||
|
|
Loading…
Reference in a new issue