From e19e2222d7700c12df75f099adfe4486d08ccbd9 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 18 Aug 2023 13:39:36 +0800 Subject: [PATCH] python3Packages.pythonNamespacesHook: use findutils from buildPackages (#249864) --- pkgs/development/interpreters/python/hooks/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix index bd29d493ebb8..7fe41a6f8533 100644 --- a/pkgs/development/interpreters/python/hooks/default.nix +++ b/pkgs/development/interpreters/python/hooks/default.nix @@ -107,11 +107,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; + inherit (buildPackages) findutils; }; } ./python-namespaces-hook.sh) {};