@@ -32,9 +32,15 @@ let
3232 implementation = "pypy";
3333 libPrefix = "pypy${pythonVersion}";
3434 executable = "pypy${if isPy3k then "3" else ""}";
35− pythonForBuild = self; # Not possible to cross-compile with.
3635 sitePackages = "site-packages";
3736 hasDistutilsCxxPatch = false;
37+
38+ # Not possible to cross-compile with.
39+ pythonOnBuildForBuild = throw "${pname} does not support cross compilation";
40+ pythonOnBuildForHost = self;
41+ pythonOnBuildForTarget = throw "${pname} does not support cross compilation";
42+ pythonOnHostForHost = throw "${pname} does not support cross compilation";
43+ pythonOnTargetForTarget = throw "${pname} does not support cross compilation";
3844 };
3945 pname = "${passthru.executable}_prebuilt";
4046 version = with sourceVersion; "${major}.${minor}.${patch}";