where erlang searching for erlang libraries ? is it possible to change this path ? is it possible to set multiple paths (like LD_LIBRARY_PATH) ?
i am trying to create ejabberd package for guix, and faced few problems.
1. ejabberd attempts to download deps during build phase, which fortunately can be avoided via ./configure option.
2. build deps compiling via rebar2, this also can be solved by creating rebar2 stub package which just use rebar2 bundled with ejabberd
3. i need somehow tell ejabberd build script or erlang where to search for dependencies, this i did not know yet how to solve.
current code can be found here: http://git.dark-alexandr.net/sss-guix-packages.git/tree/packages/ejabberd.scm