From 289b1ce4557187a586bba576c34b4a5f85788c93 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;