From 68346ebedea3f33ca93cf9b77ca69562660faf2d Mon Sep 17 00:00:00 2001 From: rafiq Date: Fri, 4 Apr 2025 19:17:11 +0800 Subject: [PATCH] Merge pull request #787 from rrvsh/fix/pylsp-pkgs languages/python get python-lsp-server python3Packages --- docs/release-notes/rl-0.8.md | 4 ++++ modules/plugins/languages/python.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 49bf4eb9..e8239681 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -308,3 +308,7 @@ - Fix oil config referencing snacks - Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim` + +[rrvsh](https://github.com/rrvsh): + +- Fix namespace of python-lsp-server by changing it to python3Packages diff --git a/modules/plugins/languages/python.nix b/modules/plugins/languages/python.nix index ccb15f7c..476b56ef 100644 --- a/modules/plugins/languages/python.nix +++ b/modules/plugins/languages/python.nix @@ -47,7 +47,7 @@ }; python-lsp-server = { - package = pkgs.python-lsp-server; + package = pkgs.python3Packages.python-lsp-server; lspConfig = '' lspconfig.pylsp.setup{ capabilities = capabilities;