diff --git a/default.nix b/default.nix index ed7f9637f..394a8740d 100644 --- a/default.nix +++ b/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; {