From 69b0f3dc3e05879a627ac787cc55366abc4ba374 Mon Sep 17 00:00:00 2001 From: David H Date: Sat, 18 Mar 2023 13:05:20 -0400 Subject: [PATCH] python310Packages.python-lsp-server: Add meta.mainProgram (#221728) The `python-lsp-server` package has its main binary as `pylsp`. The `mainProgram` meta attribute should reflect such to enable use of `lib.getExe`. --- pkgs/development/python-modules/python-lsp-server/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index a026eb15fa27..5034d9939c1c 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -161,5 +161,6 @@ buildPythonPackage rec { changelog = "https://github.com/python-lsp/python-lsp-server/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "pylsp"; }; }