-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All dependencies have to be explicitly stated #30
Comments
what do you mean exactly? That it doesn't take the deps from your mix file or smth else? |
Yes the deps of an included project are not pulled from the projects mix.exs when using For example if I update my {erl_opts, [debug_info]}.
{deps, [
{ace, {elixir, "ace", "0.16.4"}}
% {raxx, {elixir, "raxx", "0.15.4"}},
% {hpack, "0.2.3", {pkg, hpack_erl}},
% {cookie, {elixir, "cookie", "0.1.0"}}
]}.
{plugins, [
{ rebar3_elixir_compile, ".*", {git, "https://github.com/barrel-db/rebar3_elixir_compile.git", {branch, "master"}}}
]}.
{provider_hooks, [
{pre, [{compile, {ex, compile}}]}
]}.
{elixir_opts,
[
{env, dev}
]
}.
{shell, [{apps, [greetings]}]}. When I run
There is that line that says the dependencies of my dependency where compile. But only the explicitly declared dependency is available in the shell.
|
I think I am suffering the same problem.
At least with rebar shell, I cannot start my erlang app because dependency app files cannot be found: 1> application:ensure_all_started(pet).
=INFO REPORT==== 6-Sep-2018::08:42:58 ===
application: logger
exited: stopped
type: temporary
=INFO REPORT==== 6-Sep-2018::08:42:58 ===
application: elixir
exited: stopped
type: temporary
{error,{postgrex,{"no such file or directory",
"postgrex.app"}}}
2> I can try to build a PR the reproduce the problem in the plugin repo (demo). |
This plug in appears to pull all the dependencies of a hex project. however unless the are all added to the list of
deps
then they are not compiled/included.I have a small rebar3 project using Ace, an elixir dependency which has further dependencies.
This is the section of my
rebar.config
file which should only need to have ace declared https://github.com/CrowdHailer/greetings-ace-raxx-erlang-example/blob/master/rebar.config#L3-L6The text was updated successfully, but these errors were encountered: