We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a182b4 commit 318eaebCopy full SHA for 318eaeb
lib/mix/lib/mix/deps/retriever.ex
@@ -49,6 +49,9 @@ defmodule Mix.Deps.Retriever do
49
scms = Mix.SCM.available
50
Mix.Project.recur(config, fn _ ->
51
from = current_source(:mix)
52
+
53
+ # The manager must be nil because mix supports mix,
54
+ # rebar and make dependencies/managers.
55
(Mix.project[:deps] || []) |> Enum.map(update(&1, scms, nil, from))
56
end) |> List.concat
57
end
@@ -57,6 +60,8 @@ defmodule Mix.Deps.Retriever do
60
58
61
Mix.Rebar.recur(dir, fn config ->
59
62
from = current_source(:rebar)
63
64
+ # Rebar dependencies are always managed by rebar.
65
Mix.Rebar.deps(config) |> Enum.map(update(&1, scms, :rebar, from))
66
67
0 commit comments