Skip to content

Commit 81ef212

Browse files
authored
Include hex in the list of escript.build special cases (#14953)
1 parent 7da1b76 commit 81ef212

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mix/lib/mix/tasks/escript.build.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ defmodule Mix.Tasks.Escript.Build do
272272
[]
273273
end
274274

275-
defp extra_apps_in_app_tree(app) when app in [:eex, :ex_unit, :iex, :logger, :mix] do
275+
# We include hex in here as it is always an archive and it cannot be depended on
276+
defp extra_apps_in_app_tree(app) when app in [:eex, :ex_unit, :iex, :logger, :mix, :hex] do
276277
[app]
277278
end
278279

0 commit comments

Comments
 (0)