languages/python: replace deprecated string type

This commit is contained in:
NotAShelf 2023-10-06 13:57:28 +03:00
parent 6e4f70283a
commit ec574e1c00
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};
};