aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix b/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix
index d14eb9cbb09d..1a64c79232bc 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/hooks/default.nix
@@ -1,14 +1,15 @@
# Hooks for building Python packages.
{ python
, lib
-, callPackage
, makeSetupHook
, disabledIf
, isPy3k
, ensureNewerSourcesForZipFilesHook
+, findutils
}:
let
+ callPackage = python.pythonForBuild.pkgs.callPackage;
pythonInterpreter = python.pythonForBuild.interpreter;
pythonSitePackages = python.sitePackages;
pythonCheckInterpreter = python.interpreter;
@@ -94,7 +95,7 @@ in rec {
makeSetupHook {
name = "python-namespaces-hook.sh";
substitutions = {
- inherit pythonSitePackages;
+ inherit pythonSitePackages findutils;
};
} ./python-namespaces-hook.sh) {};