Skip to content

Hex App not included in escript.build #14930

@maennchen

Description

@maennchen

Elixir and Erlang/OTP versions

Erlang/OTP 28 [erts-16.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir 1.19.2 (compiled with Erlang/OTP 28)

Operating system

NixOS 25.05 (Warbler)

Current behavior

When adding :hex to mix.exs / application / included_applications, it is not added to any escripts built with mix escript.build.

Expected behavior

Hex is included.

Context

This is important for Build Tooling like SBoM generation since those require Hex to be present.

Detailed reproduction: https://github.com/maennchen/escript_issue_reproduction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions