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;
|
python = self;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
pythonOnBuildForHost_overridden = pythonOnBuildForHost.override {
|
|
||||||
inherit packageOverrides;
|
|
||||||
self = pythonOnBuildForHost_overridden;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
isPy27 = pythonVersion == "2.7";
|
isPy27 = pythonVersion == "2.7";
|
||||||
@ -144,7 +140,7 @@ rec {
|
|||||||
pythonAtLeast = lib.versionAtLeast pythonVersion;
|
pythonAtLeast = lib.versionAtLeast pythonVersion;
|
||||||
pythonOlder = lib.versionOlder pythonVersion;
|
pythonOlder = lib.versionOlder pythonVersion;
|
||||||
inherit hasDistutilsCxxPatch;
|
inherit hasDistutilsCxxPatch;
|
||||||
pythonOnBuildForHost = pythonOnBuildForHost_overridden;
|
inherit pythonOnBuildForHost;
|
||||||
|
|
||||||
tests = callPackage ./tests.nix {
|
tests = callPackage ./tests.nix {
|
||||||
python = self;
|
python = self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user