Skip to content

Restore Hex code paths after compilation pruning#1118

Merged
ericmj merged 1 commit intomainfrom
ericmj/fix-hex-mix-unavailable
Mar 16, 2026
Merged

Restore Hex code paths after compilation pruning#1118
ericmj merged 1 commit intomainfrom
ericmj/fix-hex-mix-unavailable

Conversation

@ericmj
Copy link
Copy Markdown
Member

@ericmj ericmj commented Mar 14, 2026

Compilation prunes code paths for isolation, which may remove archive paths like Hex. When a task like format triggers compilation and then deps.get runs in the same VM, Hex.Mix becomes unavailable.

Call Mix.ensure_application!(:hex) to restore the code paths before converging dependencies.

Closes #1109

Compilation prunes code paths for isolation, which may remove archive
paths like Hex. When a task like `format` triggers compilation and then
`deps.get` runs in the same VM, Hex.Mix becomes unavailable.

Call Mix.ensure_application!(:hex) to restore the code paths before
converging dependencies.

Closes #1109
@ericmj ericmj merged commit 2520243 into main Mar 16, 2026
20 checks passed
@ericmj ericmj deleted the ericmj/fix-hex-mix-unavailable branch March 16, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error about Hex.Mix not being available

1 participant