erlang-ls: Set meta.mainProgram

The erlang language server's primary binary is `erlang_ls`, just like
the repository name, but this package sets the package name to
`erlang-ls` without also either aliasing the binary or setting
`meta.mainProgram`. Setting `meta.mainProgram` to `erlang_ls` should
allow the use of `lib.getExe`.
This commit is contained in:
David Houston 2023-03-18 08:08:48 -04:00
parent a5f8184fb8
commit 9d6d028f2b
No known key found for this signature in database
GPG key ID: 5960278CE235F821

View file

@ -56,6 +56,7 @@ rebar3Relx {
description = "The Erlang Language Server";
platforms = platforms.unix;
license = licenses.asl20;
mainProgram = "erlang_ls";
};
passthru.updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell