From f42b43d8bca68ee0d4c2648ab729a71155e5fb52 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 25 Dec 2021 00:30:39 +0100 Subject: [PATCH] nix: use proper python environment --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index ba32138..117bc02 100644 --- a/flake.nix +++ b/flake.nix @@ -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;