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 { devShell = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
pkgs.python3Packages.black (python3.withPackages (ps: with ps; [
pkgs.python3Packages.isort black
pkgs.python3Packages.mypy isort
python3 mypy
]))
]; ];
inherit (self.checks.${system}.pre-commit) shellHook; inherit (self.checks.${system}.pre-commit) shellHook;