Merge pull request #114999 from obsidiansystems/fix-tools-withPackages
buildPythonPackage: Fix after #112276
This commit is contained in:
commit
2e36fd9911
1 changed files with 7 additions and 1 deletions
|
@ -126,7 +126,13 @@ in {
|
|||
|
||||
# helpers
|
||||
|
||||
wrapPython = callPackage ../development/interpreters/python/wrap-python.nix {inherit python; inherit (pkgs) makeSetupHook makeWrapper; };
|
||||
# We use build packages because we are making a setup hook to be used as a
|
||||
# native build input. The script itself references both the build-time
|
||||
# (build) and run-time (host) python from the explicitly passed in `python`
|
||||
# attribute, so the `buildPackages` doesn't effect that.
|
||||
wrapPython = pkgs.buildPackages.callPackage ../development/interpreters/python/wrap-python.nix {
|
||||
inherit python;
|
||||
};
|
||||
|
||||
# Dont take pythonPackages from "global" pkgs scope to avoid mixing python versions
|
||||
pythonPackages = self;
|
||||
|
|
Loading…
Reference in a new issue