diff --git a/rebar.config b/rebar.config index 95dec9b93..81849430f 100644 --- a/rebar.config +++ b/rebar.config @@ -144,7 +144,14 @@ {if_var_true, tools, tools}]}]}. {if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}, - {if_var_true, elixir, rebar_mix}]}}. + %% Protocol consolidation doesn't work correctly in upstream rebar_mix, see + %% https://github.com/Supersonido/rebar_mix/issues/27#issuecomment-894873335 + %% Let's use this fixed rebar_mix fork, see its PR: + %% https://github.com/Supersonido/rebar_mix/pull/31 + {if_var_true, elixir, {rebar_mix, ".*", + {git, "https://github.com/bsanyi/rebar_mix.git", + {branch, "consolidation_fix"}}} + }]}}. {if_rebar3, {project_plugins, [configure_deps]}}. {if_not_rebar3, {plugins, [ deps_erl_opts, override_deps_versions2, override_opts, configure_deps