philomena-dev / philomena

Next-generation imageboard
GNU Affero General Public License v3.0
84 stars 29 forks source link

Hide Elixir dependencies from host #257

Closed liamwhite closed 1 month ago

liamwhite commented 1 month ago

This makes it easier to use language integrations like ElixirLS without it conflicting with the Elixir host compile.

Previously this would occur on the Rustler NIF because the container uses musl, and unless your host is Alpine, it probably uses glibc, which would cause a race between the environments -- one would to be unable to load the NIF.

Separating these also properly enables IDE source code navigation and documentation lookup, as well as mix dialyzer.

Documentation Source code navigation
image image