fix poetry not building for python3.11

Also changes python lsp to pyright.
Moritz Böhme 2023-01-11 10:40:32 +01:00
parent 583696f6f0
commit 6bbdb462e4
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 2 additions and 3 deletions

View File

@ -34,15 +34,14 @@ in
"flake8" "flake8"
"isort" "isort"
"mypy" "mypy"
"poetry"
"pytest" "pytest"
"python-lsp-server"
]; ];
type = with types; listOf (enum commonPackages); type = with types; listOf (enum commonPackages);
}; };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
users.users.moritz.packages = map (mkPython cfg.packages) cfg.versions; users.users.moritz.packages = map (mkPython cfg.packages) cfg.versions
++ [ pkgs.poetry pkgs.nodePackages.pyright ];
}; };
} }