Loading pkgs/development/interpreters/python/cpython/2.7/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,10 @@ let pythonOnBuildForTarget = pkgsBuildTarget.${pythonAttr}; pythonOnHostForHost = pkgsHostHost.${pythonAttr}; pythonOnTargetForTarget = pkgsTargetTarget.${pythonAttr} or { }; pythonABITags = [ "none" "cp${sourceVersion.major}${sourceVersion.minor}" ]; } // { inherit ucsEncoding; Loading pkgs/development/interpreters/python/cpython/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -195,6 +195,12 @@ let pythonOnHostForHost pythonOnTargetForTarget ; pythonABITags = [ "abi3" "none" "cp${sourceVersion.major}${sourceVersion.minor}${lib.optionalString (!enableGIL) "t"}" ]; }; version = with sourceVersion; "${major}.${minor}.${patch}${suffix}"; Loading pkgs/development/interpreters/python/passthrufun.nix +2 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ pythonOnHostForHost, pythonOnTargetForTarget, pythonAttr ? null, pythonABITags ? [ "none" ], self, # is pythonOnHostForTarget }: let Loading Loading @@ -141,6 +142,7 @@ rec { pythonOlder = lib.versionOlder pythonVersion; inherit hasDistutilsCxxPatch; inherit pythonOnBuildForHost; inherit pythonABITags; tests = callPackage ./tests.nix { python = self; Loading pkgs/development/interpreters/python/pypy/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ let pythonOnBuildForTarget = pkgsBuildTarget.${pythonAttr}; pythonOnHostForHost = pkgsHostHost.${pythonAttr}; pythonOnTargetForTarget = pkgsTargetTarget.${pythonAttr} or { }; pythonABITags = [ "none" "pypy${lib.concatStrings (lib.take 2 (lib.splitString "." pythonVersion))}_pp${sourceVersion.major}${sourceVersion.minor}" ]; }; pname = passthru.executable; version = with sourceVersion; "${major}.${minor}.${patch}"; Loading pkgs/development/interpreters/python/pypy/prebuilt.nix +5 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,11 @@ let pythonOnBuildForTarget = throw "${pname} does not support cross compilation"; pythonOnHostForHost = throw "${pname} does not support cross compilation"; pythonOnTargetForTarget = throw "${pname} does not support cross compilation"; pythonABITags = [ "none" "pypy${lib.concatStrings (lib.take 2 (lib.splitString "." pythonVersion))}_pp${sourceVersion.major}${sourceVersion.minor}" ]; }; pname = "${passthru.executable}_prebuilt"; version = with sourceVersion; "${major}.${minor}.${patch}"; Loading Loading
pkgs/development/interpreters/python/cpython/2.7/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,10 @@ let pythonOnBuildForTarget = pkgsBuildTarget.${pythonAttr}; pythonOnHostForHost = pkgsHostHost.${pythonAttr}; pythonOnTargetForTarget = pkgsTargetTarget.${pythonAttr} or { }; pythonABITags = [ "none" "cp${sourceVersion.major}${sourceVersion.minor}" ]; } // { inherit ucsEncoding; Loading
pkgs/development/interpreters/python/cpython/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -195,6 +195,12 @@ let pythonOnHostForHost pythonOnTargetForTarget ; pythonABITags = [ "abi3" "none" "cp${sourceVersion.major}${sourceVersion.minor}${lib.optionalString (!enableGIL) "t"}" ]; }; version = with sourceVersion; "${major}.${minor}.${patch}${suffix}"; Loading
pkgs/development/interpreters/python/passthrufun.nix +2 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ pythonOnHostForHost, pythonOnTargetForTarget, pythonAttr ? null, pythonABITags ? [ "none" ], self, # is pythonOnHostForTarget }: let Loading Loading @@ -141,6 +142,7 @@ rec { pythonOlder = lib.versionOlder pythonVersion; inherit hasDistutilsCxxPatch; inherit pythonOnBuildForHost; inherit pythonABITags; tests = callPackage ./tests.nix { python = self; Loading
pkgs/development/interpreters/python/pypy/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ let pythonOnBuildForTarget = pkgsBuildTarget.${pythonAttr}; pythonOnHostForHost = pkgsHostHost.${pythonAttr}; pythonOnTargetForTarget = pkgsTargetTarget.${pythonAttr} or { }; pythonABITags = [ "none" "pypy${lib.concatStrings (lib.take 2 (lib.splitString "." pythonVersion))}_pp${sourceVersion.major}${sourceVersion.minor}" ]; }; pname = passthru.executable; version = with sourceVersion; "${major}.${minor}.${patch}"; Loading
pkgs/development/interpreters/python/pypy/prebuilt.nix +5 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,11 @@ let pythonOnBuildForTarget = throw "${pname} does not support cross compilation"; pythonOnHostForHost = throw "${pname} does not support cross compilation"; pythonOnTargetForTarget = throw "${pname} does not support cross compilation"; pythonABITags = [ "none" "pypy${lib.concatStrings (lib.take 2 (lib.splitString "." pythonVersion))}_pp${sourceVersion.major}${sourceVersion.minor}" ]; }; pname = "${passthru.executable}_prebuilt"; version = with sourceVersion; "${major}.${minor}.${patch}"; Loading