 
       # The manager must be nil because mix supports mix,
       # rebar and make dependencies/managers.
-      (Mix.project[:deps] || []) |> Enum.map(update(&1, scms, nil, from))
+      (Mix.project[:deps] || []) |> Enum.map(update(&1, scms, from))
     end) |> List.concat
   end
 

    # Don't run recursively for the top-level project
    scms = Mix.SCM.available
    from = current_source(:mix)
    (Mix.project[:deps] || []) |> Enum.map(update(&1, scms, nil, from))
  end

  @doc """

      from = current_source(:rebar)

      # Rebar dependencies are always managed by rebar.
      Mix.Rebar.deps(config) |> Enum.map(update(&1, scms, from, :rebar))
    end) |> List.concat
  end

  defp update(tuple, scms, from, manager // nil) do
    dep = with_scm_and_status(tuple, scms).from(from)

    if match?({ _, req, _ } when is_regex(req), tuple) and
