0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.pythonNamespacesHook: use findutils from buildPackages (#249864)

This commit is contained in:
Nick Cao 2023-08-18 13:39:36 +08:00 committed by GitHub
parent 1adb31d999
commit e19e2222d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {};