release-python: derive python27Package from python27Packages

This commit is contained in:
Florian Friesdorf 2013-01-09 22:23:41 +01:00
parent 06ca1e4768
commit 9f66bf678e

View file

@ -9,6 +9,17 @@
*/
with (import ./release-lib.nix);
let
jobsForDerivations = attrset: pkgs.lib.attrsets.listToAttrs
(map
(name: { inherit name;
value = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };})
(builtins.attrNames
(pkgs.lib.attrsets.filterAttrs
(n: v: (v.type or null) == "derivation")
attrset)));
in
{
tarball = import ./make-tarball.nix;
@ -1469,15 +1480,8 @@ with (import ./release-lib.nix);
python27 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
python26Full = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
python27Full = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
python26Packages = pkgs.lib.attrsets.listToAttrs
(map
(name: { inherit name;
value = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };})
(builtins.attrNames
(pkgs.lib.attrsets.filterAttrs
(n: v: (v.type or null) == "derivation")
pkgs.python26Packages)));
python27Packages = python26Packages;
python26Packages = jobsForDerivations pkgs.python26Packages;
python27Packages = jobsForDerivations pkgs.python27Packages;
python3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
pythonDBus = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
pythonIRClib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };