git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit5804c8a7f5f0db0ebefb4aa612cc7a254debd57a authorFrederik Rietdijk <fridh@fridh.nl> dateSat 28 Nov 2020, 17:06 (6 years ago) parent6cf25f9
1 file changed+5−5
pkgs/development/interpreters/python/default.nix+5−5
pkgs/development/interpreters/python/default.nix+5−5
@@ -28,11 +28,11 @@ with pkgs;
2828 python = self;
2929 };
3030 otherSplices = {
31− selfBuildBuild = pythonOnBuildForBuild;
32− selfBuildHost = pythonOnBuildForHost;
33− selfBuildTarget = pythonOnBuildForTarget;
34− selfHostHost = pythonOnHostForHost;
35− selfTargetTarget = pythonOnTargetForTarget;
31+ selfBuildBuild = pythonOnBuildForBuild.pkgs;
32+ selfBuildHost = pythonOnBuildForHost.pkgs;
33+ selfBuildTarget = pythonOnBuildForTarget.pkgs;
34+ selfHostHost = pythonOnHostForHost.pkgs;
35+ selfTargetTarget = pythonOnTargetForTarget.pkgs or {}; # There is no Python TargetTarget.
3636 };
3737 keep = self: {
3838 # TODO maybe only define these here so nothing is needed to be kept in sync.