forked from mirrors/nixpkgs
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:
parent
a5f8184fb8
commit
9d6d028f2b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue