fix(runtime): use correct archive locations (e.g. Hex) for bundled Elixir #510
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Set
MIX_ARCHIVES
explicitly to make sure to override any existing setting, e.g. fromasdf
ormise
.What happens on
main
currently is thathex
is installed into whatever the environment variableMIX_ARCHIVES
points at. The var is set by e.g.mise
. So if the "regular" project setup is running on Elixir < 1.17, its installation of Hex will be overridden by NextLS and it stops working after that.This patch makes sure to set
MIX_ARCHIVES
explicitly so thehex
archive ends up in the right place.