forked from potsda.mn/mobilizon
reduce nix output path size by 60MB
This commit is contained in:
parent
bedada2efc
commit
9a10666aa8
10
default.nix
10
default.nix
|
@ -118,6 +118,16 @@ mixRelease rec {
|
|||
mix phx.digest --no-deps-check
|
||||
'';
|
||||
|
||||
# Just a hack to reduce path size by 60MB
|
||||
postInstall =
|
||||
let
|
||||
inherit (mixNixDeps) ex_cldr;
|
||||
in
|
||||
''
|
||||
rm -r $out/lib/ex_cldr-${ex_cldr.version}/priv/cldr/locales
|
||||
ln -s ${ex_cldr.src}/priv/cldr/locales $out/lib/ex_cldr-${ex_cldr.version}/priv/cldr/locales
|
||||
'';
|
||||
|
||||
passthru.elixirPackage = beamPackages.elixir;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue