Open liveforeverx opened 4 years ago
Thanks. That fix isn't completely right though, we need to tell it use use prod
MIX_ENV
and to use a specific build path that is unrelated to its ENV.
Issue was found and I talked to Jose, he is resolving it. It happened because of https://github.com/elixir-lang/elixir/issues/9188/
Thanks for catching this early!
Environment
Current behavior
Creating new application and using
rebar_mix
plugin for example to includejason
library, like this inrebar.config
:Expected behavior
Jason compiled.
Jason compiles with Elixir v1.9, but with upcoming Elixir v1.10 it produces an error:
Tracing back it is dependent on this change:
So probably this change could fix this:
https://github.com/Supersonido/rebar_mix/blob/master/src/rebar_mix_builder.erl#L14-L15
to:
Or getting
MIX_ENV
from profiles (I see multiple profiles, but I don't know, which one to use).