pythonInterpreters.pypy36_prebuilt: Set pythonOnBuildForHost
This was broken by #105155. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
1c5c184079
commit
d08ec2f195
@ -32,9 +32,15 @@ let
|
|||||||
implementation = "pypy";
|
implementation = "pypy";
|
||||||
libPrefix = "pypy${pythonVersion}";
|
libPrefix = "pypy${pythonVersion}";
|
||||||
executable = "pypy${if isPy3k then "3" else ""}";
|
executable = "pypy${if isPy3k then "3" else ""}";
|
||||||
pythonForBuild = self; # Not possible to cross-compile with.
|
|
||||||
sitePackages = "site-packages";
|
sitePackages = "site-packages";
|
||||||
hasDistutilsCxxPatch = false;
|
hasDistutilsCxxPatch = false;
|
||||||
|
|
||||||
|
# Not possible to cross-compile with.
|
||||||
|
pythonOnBuildForBuild = throw "${pname} does not support cross compilation";
|
||||||
|
pythonOnBuildForHost = self;
|
||||||
|
pythonOnBuildForTarget = throw "${pname} does not support cross compilation";
|
||||||
|
pythonOnHostForHost = throw "${pname} does not support cross compilation";
|
||||||
|
pythonOnTargetForTarget = throw "${pname} does not support cross compilation";
|
||||||
};
|
};
|
||||||
pname = "${passthru.executable}_prebuilt";
|
pname = "${passthru.executable}_prebuilt";
|
||||||
version = with sourceVersion; "${major}.${minor}.${patch}";
|
version = with sourceVersion; "${major}.${minor}.${patch}";
|
||||||
|
Loading…
Reference in New Issue
Block a user