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

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;