python3: Remove unneeded override in passthruFun
`pythonOnBuildForHost` is already overriden when it is passed to `passthruFun` remove redundant override. Performace is slightly better ~200MB less memory.
This commit is contained in:
parent
c59bac08bd
commit
0ce0b01c12
@ -106,10 +106,6 @@ let
|
||||
python = self;
|
||||
}
|
||||
);
|
||||
pythonOnBuildForHost_overridden = pythonOnBuildForHost.override {
|
||||
inherit packageOverrides;
|
||||
self = pythonOnBuildForHost_overridden;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
isPy27 = pythonVersion == "2.7";
|
||||
@ -144,7 +140,7 @@ rec {
|
||||
pythonAtLeast = lib.versionAtLeast pythonVersion;
|
||||
pythonOlder = lib.versionOlder pythonVersion;
|
||||
inherit hasDistutilsCxxPatch;
|
||||
pythonOnBuildForHost = pythonOnBuildForHost_overridden;
|
||||
inherit pythonOnBuildForHost;
|
||||
|
||||
tests = callPackage ./tests.nix {
|
||||
python = self;
|
||||
|
Loading…
x
Reference in New Issue
Block a user