nix: use proper python environment
This commit is contained in:
parent
ac9f1f2d6d
commit
289b1ce455
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue