Merge staging-next into staging
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
# For the Python package set
|
||||
, packageOverrides ? (self: super: {})
|
||||
, buildPackages
|
||||
, pythonForBuild ? buildPackages.${"python${sourceVersion.major}${sourceVersion.minor}"}
|
||||
, sourceVersion
|
||||
, sha256
|
||||
, passthruFun
|
||||
@@ -63,7 +64,7 @@ let
|
||||
|
||||
hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
|
||||
|
||||
pythonForBuild = buildPackages.${"python${sourceVersion.major}${sourceVersion.minor}"};
|
||||
inherit pythonForBuild;
|
||||
|
||||
pythonForBuildInterpreter = if stdenv.hostPlatform == stdenv.buildPlatform then
|
||||
"$out/bin/python"
|
||||
|
||||
@@ -46,7 +46,7 @@ with pkgs;
|
||||
inherit hasDistutilsCxxPatch pythonForBuild;
|
||||
};
|
||||
|
||||
in {
|
||||
in rec {
|
||||
|
||||
python27 = callPackage ./cpython/2.7 {
|
||||
self = python27;
|
||||
@@ -127,18 +127,9 @@ in {
|
||||
};
|
||||
|
||||
# Minimal versions of Python (built without optional dependencies)
|
||||
python3Minimal = (callPackage ./cpython {
|
||||
python3Minimal = (python37.override {
|
||||
self = python3Minimal;
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "7";
|
||||
patch = "4";
|
||||
suffix = "";
|
||||
};
|
||||
sha256 = "0gxiv5617zd7dnqm5k9r4q2188lk327nf9jznwq9j6b8p0s92ygv";
|
||||
inherit (darwin) CF configd;
|
||||
inherit passthruFun;
|
||||
|
||||
pythonForBuild = pkgs.buildPackages.python3Minimal;
|
||||
# strip down that python version as much as possible
|
||||
openssl = null;
|
||||
readline = null;
|
||||
|
||||
Reference in New Issue
Block a user