mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #114999 from obsidiansystems/fix-tools-withPackages
buildPythonPackage: Fix after #112276
This commit is contained in:
commit
2e36fd9911
@ -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 New Issue
Block a user