nix: use proper python environment

This commit is contained in:
Bruno BELANYI 2021-12-25 00:30:39 +01:00
parent ac9f1f2d6d
commit 289b1ce455

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;