I add this project as Elixir mix dependent, when I get the project use mix deps.get, it doesn't work, and runs out:
Error evaluating rebar config script ./rebar.config.script: 26: evaluation failed with reason error:undef and stacktrace [{rebar_utils,is_arch,[[98,115,100]],[]},{erl_eval,do_apply,6,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,569}]},{erl_eval,expr,5,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,243}]},{file,eval_stream2,6,[{file,[102,105,108,101,46,101,114,108]},{line,1368}]},{file,script,2,[{file,[102,105,108,101,46,101,114,108]},{line,1067}]},{'Elixir.File','cd!',2,[{file,[108,105,98,47,102,105,108,101,46,101,120]},{line,894}]},{'Elixir.Mix.Rebar',eval_script,2,[{file,[108,105,98,47,109,105,120,47,114,101,98,97,114,46,101,120]},{line,128}]},{'Elixir.Mix.Deps.Loader','-rebar_dep/1-fun-0-',2,[{file,[108,105,98,47,109,105,120,47,100,101,112,115,47,108,111,97,100,101,114,46,101,120]},{line,177}]}]
Any dependency defined in the script won't be available unless you add them to your Mix project
The text was updated successfully, but these errors were encountered:
This looks like a problem with your environment. I'd make sure you are not using a really old version of rebar that predates the rebar_utils:is_arch/1 function. Things work fine for me when building the project standalone or as a dependency of a standard erlang project.
I know this is an old issue now and it's possible to workaround by adding rebar as a dependency in a mix file, but I've updated the rebar configuration to avoid this issue and the necessity for using that workaround. I pushed a 0.3 tag with the change in case it's useful for you.
I add this project as Elixir mix dependent, when I get the project use
mix deps.get
, it doesn't work, and runs out:The text was updated successfully, but these errors were encountered: