Merge pull request #105113 from adisbladis/pythonforbuild-overrides

python: Propagate packageOverrides to pythonForBuild
This commit is contained in:
adisbladis 2020-11-30 11:41:58 +01:00 committed by GitHub
commit a52850e304
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ with pkgs;
inherit hasDistutilsCxxPatch;
# TODO: rename to pythonOnBuild
# Not done immediately because its likely used outside Nixpkgs.
pythonForBuild = pythonOnBuildForHost;
pythonForBuild = pythonOnBuildForHost.override { inherit packageOverrides; self = pythonForBuild; };
tests = callPackage ./tests.nix {
python = self;