nix: use proper python environment

This commit is contained in:
Bruno BELANYI 2021-12-25 00:30:39 +01:00
parent 637c597525
commit f42b43d8bc

View file

@ -56,10 +56,11 @@
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
pkgs.python3Packages.black
pkgs.python3Packages.isort
pkgs.python3Packages.mypy
python3
(python3.withPackages (ps: with ps; [
black
isort
mypy
]))
];
inherit (self.checks.${system}.pre-commit) shellHook;