fix poetry not building for python3.11

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

View File

@ -34,15 +34,14 @@ in
"flake8"
"isort"
"mypy"
"poetry"
"pytest"
"python-lsp-server"
];
type = with types; listOf (enum commonPackages);
};
};
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 ];
};
}