summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_update.erl9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl
index e57f19d..4751e05 100644
--- a/src/rebar_prv_update.erl
+++ b/src/rebar_prv_update.erl
@@ -55,13 +55,8 @@ format_error(package_index_write) ->
"Failed to write package index.".
url(State) ->
- SystemArch = erlang:system_info(system_architecture),
ErtsVsn = erlang:system_info(version),
- {glibc, GlibcVsn, _, _} = erlang:system_info(allocator),
- GlibcVsnStr = io_lib:format("~p.~p", GlibcVsn),
- Qs = [io_lib:format("~s=~s", [X, Y]) || {X, Y} <- [{"arch", SystemArch}
- ,{"erts", ErtsVsn}
- ,{"glibc", GlibcVsnStr}]],
- Url = rebar_state:get(State, rebar_packages_url, "http://polar-caverns-6802.herokuapp.com"),
+ Qs = [io_lib:format("~s=~s", [X, Y]) || {X, Y} <- [{"erts", ErtsVsn}]],
+ Url = rebar_state:get(State, rebar_packages_url, "http://packages.rebar3.org/packages"),
Url ++ "?" ++ string:join(Qs, "&").