Skip to content

Commit

Permalink
languages/python: replace deprecated string type
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Oct 6, 2023
1 parent 6e4f702 commit ec574e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/languages/python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
Expand Down

0 comments on commit ec574e1

Please sign in to comment.