summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r--src/rebar_prv_install_deps.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index 423a577..b75964f 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -144,7 +144,7 @@ handle_deps(State, Deps) ->
,ordsets:from_list(Solved)]),
%% Sort all apps to build order
- State3 = rebar_state:set(State2, all_deps, AllDeps),
+ State3 = rebar_state:set(State2, all_deps, AllDeps -- ProjectApps),
{ok, Sort} = rebar_topo:sort_apps(ordsets:to_list(Source)),
{ok, rebar_state:set(State3, deps_to_build, lists:dropwhile(fun is_valid/1, Sort) -- ProjectApps)}.
@@ -164,7 +164,7 @@ package_to_app(DepsDir, Packages, Name, Vsn) ->
AppInfo1 = rebar_app_info:deps(AppInfo, PkgDeps),
AppInfo2 =
rebar_app_info:dir(AppInfo1, get_deps_dir(DepsDir, <<Name/binary, "-", FmtVsn/binary>>)),
- rebar_app_info:source(AppInfo2, {Name, FmtVsn, Link}).
+ rebar_app_info:source(AppInfo2, Link).
-spec update_src_deps(rebar_state:t()) -> rebat_state:t().
update_src_deps(State) ->