From ec574e1c001734c0104bec44a658f2ca3e8c5996 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 6 Oct 2023 13:57:28 +0300 Subject: [PATCH] languages/python: replace deprecated string type --- modules/languages/python.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/languages/python.nix b/modules/languages/python.nix index 6739471..a30f800 100644 --- a/modules/languages/python.nix +++ b/modules/languages/python.nix @@ -128,7 +128,7 @@ in { package = mkOption { description = "python LSP server package, or the command to run as a list of strings"; example = ''[lib.getExe pkgs.jdt-language-server "-data" "~/.cache/jdtls/workspace"]''; - type = with types; either package (listOf string); + type = with types; either package (listOf str); default = servers.${cfg.lsp.server}.package; }; };