Remove REBAR_BARE_COMPILER_OUTPUT_DIR to fix issues with build_embedded

See #10978.
This commit is contained in:
José Valim
2021-05-16 13:51:19 +02:00
parent 9fcdf234dd
commit 05ab231bc6
+1 -3
View File
@@ -197,11 +197,9 @@ defmodule Mix.Tasks.Deps.Compile do
config_path = Path.join(dep_path, "mix.rebar.config")
lib_path = Path.join(config[:env_path], "lib/*/ebin")
# REBAR_BARE_COMPILER_OUTPUT_DIR is only honored by rebar3 >= 3.14
env = [
{"REBAR_CONFIG", config_path},
{"TERM", "dumb"},
{"REBAR_BARE_COMPILER_OUTPUT_DIR", dep_path}
{"TERM", "dumb"}
]
cmd = "#{rebar_cmd(dep)} bare compile --paths #{lib_path}"