about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorKonstantin Alekseev <mail@kalekseev.com>2022-11-08 22:42:02 +0200
committerKonstantin Alekseev <mail@kalekseev.com>2022-11-08 22:42:02 +0200
commit7f651a9c447cd5fb3dfa6c3c25be4116ceec4e62 (patch)
tree39a438466d0f750d64f946b8f781a61431088991 /pkgs
parent83be3a653f2ddc95d95b8719c9ea93c1169ebd7b (diff)
python3Packages.python-lsp-server: add missing setuptools
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/python-lsp-server/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix
index f9bddb009dc80..ec65059f54df6 100644
--- a/pkgs/development/python-modules/python-lsp-server/default.nix
+++ b/pkgs/development/python-modules/python-lsp-server/default.nix
@@ -57,7 +57,6 @@ buildPythonPackage rec {
   '';
 
   nativeBuildInputs = [
-    setuptools
     setuptools-scm
   ];
 
@@ -66,6 +65,7 @@ buildPythonPackage rec {
     jedi
     pluggy
     python-lsp-jsonrpc
+    setuptools # `pkg_resources`imported in pylsp/config/config.py
     ujson
   ];
 
@@ -142,6 +142,7 @@ buildPythonPackage rec {
 
   pythonImportsCheck = [
     "pylsp"
+    "pylsp.python_lsp"
   ];
 
   meta = with lib; {