elixir-ls: Include the debugger

This commit is contained in:
Justin Wood 2023-10-02 10:24:14 -04:00 committed by Yt
parent c6e3bbc550
commit d5df7fc87f

View File

@ -49,6 +49,10 @@ mixRelease {
substitute release/language_server.sh $out/bin/elixir-ls \
--replace 'exec "''${dir}/launch.sh"' "exec $out/lib/launch.sh"
chmod +x $out/bin/elixir-ls
substitute release/debugger.sh $out/bin/elixir-debugger \
--replace 'exec "''${dir}/launch.sh"' "exec $out/lib/launch.sh"
chmod +x $out/bin/elixir-debugger
# prepare the launcher
substituteInPlace $out/lib/launch.sh \
--replace "ERL_LIBS=\"\$SCRIPTPATH:\$ERL_LIBS\"" \