From 55d0da1263edeb0af3553c178ca9d9b044e73694 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 28 Sep 2023 04:56:44 -0400 Subject: fix(flake): use custom buildPhase instead of pypBuildHook --- nix/dev.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nix/dev.nix') diff --git a/nix/dev.nix b/nix/dev.nix index b394c6c..9ebb07f 100644 --- a/nix/dev.nix +++ b/nix/dev.nix @@ -5,8 +5,9 @@ ... }: { perSystem = { - config, pkgs, + config, + self', ... }: { pre-commit = { @@ -24,8 +25,11 @@ devShells.default = pkgs.mkShell { shellHook = config.pre-commit.installationScript; - packages = [ - (pkgs.python311.withPackages (p: with p; [isort yapf pylint])) + inputsFrom = [self'.packages.guzzle-api]; + packages = with pkgs.python311Packages; [ + isort + yapf + pylint ]; }; }; -- cgit v1.2.3