From 8aeeb9c893b179ba10c9f4668b4a1770885489fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 22 Nov 2025 18:43:34 -0800 Subject: [PATCH] Include hex in the list of escript.build special cases --- lib/mix/lib/mix/tasks/escript.build.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mix/lib/mix/tasks/escript.build.ex b/lib/mix/lib/mix/tasks/escript.build.ex index 991f496bab..53629183a9 100644 --- a/lib/mix/lib/mix/tasks/escript.build.ex +++ b/lib/mix/lib/mix/tasks/escript.build.ex @@ -272,7 +272,8 @@ defmodule Mix.Tasks.Escript.Build do [] end - defp extra_apps_in_app_tree(app) when app in [:eex, :ex_unit, :iex, :logger, :mix] do + # We include hex in here as it is always an archive and it cannot be depended on + defp extra_apps_in_app_tree(app) when app in [:eex, :ex_unit, :iex, :logger, :mix, :hex] do [app] end