python: Use makeScopeWithSplicing

Now non-`buildInputs` that are python packages should be resolved
correctly.
This commit is contained in:
John Ericson
2020-11-18 12:13:11 -05:00
parent 330d468002
commit b57c5d4456
5 changed files with 95 additions and 19 deletions

View File

@@ -22,9 +22,15 @@ let
implementation = "pypy";
libPrefix = "pypy${pythonVersion}";
executable = "pypy${if isPy3k then "3" else ""}";
pythonForBuild = self; # No cross-compiling for now.
sitePackages = "site-packages";
hasDistutilsCxxPatch = false;
# No cross-compiling for now.
pythonForBuild = self;
pythonPackagesBuildBuild = {};
pythonPackagesBuildTarget = {};
pythonPackagesHostHost = {};
pythonPackagesTargetTarget = {};
};
pname = passthru.executable;
version = with sourceVersion; "${major}.${minor}.${patch}";