Skip to content

Commit

Permalink
pythonNamespacesHook: use native findutils
Browse files Browse the repository at this point in the history
  • Loading branch information
marius851000 committed Apr 23, 2023
1 parent 446cfc6 commit 43c4fe4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/interpreters/python/hooks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ in {
};
} ./python-imports-check-hook.sh) {};

pythonNamespacesHook = callPackage ({ makePythonHook, findutils }:
pythonNamespacesHook = callPackage ({ makePythonHook, buildPackages }:
makePythonHook {
name = "python-namespaces-hook.sh";
substitutions = {
inherit pythonSitePackages findutils;
inherit pythonSitePackages;
findutils = buildPackages.findutils;
};
} ./python-namespaces-hook.sh) {};

Expand Down

0 comments on commit 43c4fe4

Please sign in to comment.