diff --git a/modules/languages/python.nix b/modules/languages/python.nix index 67394715b..a30f800af 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; }; };