languages/python: replace deprecated string type

This commit is contained in:
raf 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

View file

@ -128,7 +128,7 @@ in {
package = mkOption { package = mkOption {
description = "python LSP server package, or the command to run as a list of strings"; 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"]''; 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; default = servers.${cfg.lsp.server}.package;
}; };
}; };