Python splicing: splice package sets, not Python derivation

In the original commit the various builds of Python were added to
`otherSplices`, instead of the intended Python package sets.
This commit is contained in:
Frederik Rietdijk 2020-11-28 17:06:08 +01:00
parent 6cf25f9dbd
commit 5804c8a7f5

View file

@ -28,11 +28,11 @@ with pkgs;
python = self;
};
otherSplices = {
selfBuildBuild = pythonOnBuildForBuild;
selfBuildHost = pythonOnBuildForHost;
selfBuildTarget = pythonOnBuildForTarget;
selfHostHost = pythonOnHostForHost;
selfTargetTarget = pythonOnTargetForTarget;
selfBuildBuild = pythonOnBuildForBuild.pkgs;
selfBuildHost = pythonOnBuildForHost.pkgs;
selfBuildTarget = pythonOnBuildForTarget.pkgs;
selfHostHost = pythonOnHostForHost.pkgs;
selfTargetTarget = pythonOnTargetForTarget.pkgs or {}; # There is no Python TargetTarget.
};
keep = self: {
# TODO maybe only define these here so nothing is needed to be kept in sync.