ericmj

ericmj

Elixir Core Team

New domain for Hex hosted build artifacts

We are moving the builds for precompiled versions of Elixir, Erlang/OTP, and Hex itself. These are currently hosted on https://repo.hex.pm but will be moved to https://builds.hex.pm. (You can read more about the builds on GitHub - hexpm/bob: The Builder).

The affected URLs are under https://repo.hex.pm/builds/ and https://repo.hex.pm/installs/, and will be moved to https://builds.hex.pm/builds/ https://builds.hex.pm/installs/ respectively.

The transition period will be over 3 months with increasing “brownout” periods where repo.hex.pm will redirect to builds.hex.pm. After the 3 month period the redirect will become permanent. If the tool you are using to download the builds follows HTTP redirects you are unaffected by the domain change.

If you are using the GitHub action setup-beam make sure you are on the latest tag @v1 and f you use asdf to install Elixir then update with asdf plugin-update elixir to ensure there is no disruption.

For more details and the migration schedule see the post: New domain for build artifacts | Hex

Most Liked

ericmj

ericmj

Elixir Core Team

HEX_MIRROR is being deprecated because it was being used for both the Hex repository and build artifacts.

Going forward you should use HEX_MIRROR_URL or HEX_TRUSTED_MIRROR_URL for the Hex repository (repo.hex.pm). HEX_TRUSTED_MIRROR_URL should only be used if it’s a mirror you can trust with secrets such as authentication credentials and private packages, otherwise use HEX_MIRROR_URL. You can use these if you are on the latest version of Hex.

For build artifacts you should set HEX_BUILDS_URL, this variable is used by mix local.hex and mix local.rebar. This variable is being introduced in Elixir 1.15.0 so it’s not available yet. To avoid the error in the mean time you have to set HEX_MIRROR only when you call the mix local.* tasks. But since Elixir follows HTTP redirects you don’t have to make any changes, when repo.hex.pm changes to permanently redirect to builds.hex.pm Elixir will continue working.

Where Next?

Popular in Notices Top

josevalim
Hello everyone, We had a discussion on elixir-lang-core about deprecating the use of ‘single quotes’ in Elixir for charlists. The use o...
New
josevalim
Hello everyone, Last year we have announced GenStage and then developed Flow. Our initial plan was to make GenStage part of Elixir. Tha...
New
josevalim
Hi everyone, With the v1.7 release, we have received reports of some dependencies no longer working properly on the new release. Develo...
New
ericmj
We are moving the builds for precompiled versions of Elixir, Erlang/OTP, and Hex itself. These are currently hosted on https://repo.hex.p...
New
josevalim
One common concern about using Elixir libraries is that use SomeModule does not make clear how it impacts the caller. While the goal of u...
New
josevalim
Hi everyone, I have updated Elixir’s wiki page on IDE/Editor support and I am now linking to it from the website. If you know of other ...
New
josevalim
Hi everyone, Elixir v1.19.0-rc.0 included a deprecation of the struct update syntax. However, we will ship with a different warning on E...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New

We're in Beta

About us Mission Statement