fix poetry not building for python3.11
Also changes python lsp to pyright.
parent
583696f6f0
commit
6bbdb462e4
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue