From 0b7dc44899dbc9d0fe6c9af7c186ac773f2ba61b Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:48:02 +0200 Subject: [PATCH] devshell: add python LSP --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 3592f4a..842176e 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,12 @@ devshell.packages = with pkgs; [ gnumake virtualenv + (pkgs.python3.withPackages (p: [ + # select Python packages here + p.python-lsp-ruff + p.python-lsp-server + p.python-lsp-server.optional-dependencies + ])) ]; }; });