summaryrefslogtreecommitdiff
path: root/nix/dev.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-28 04:56:44 -0400
committerseth <[email protected]>2023-09-28 04:56:44 -0400
commit55d0da1263edeb0af3553c178ca9d9b044e73694 (patch)
treec0b02d19177bda1f59c26476d95718cdbdcd59a2 /nix/dev.nix
parentb7669b106d397f4823ef8cf52496053d624f0d7c (diff)
fix(flake): use custom buildPhase instead of pypBuildHook
Diffstat (limited to 'nix/dev.nix')
-rw-r--r--nix/dev.nix10
1 files changed, 7 insertions, 3 deletions
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
];
};
};