@@ -36,15 +36,8 @@ rec {
3636 crossMaintainers = with pkgs.lib.maintainers; [ viric ];
3737
3838
39− /* Set the Hydra scheduling priority for a job. The default
40− priority (10) should be used for most jobs. A different priority
41− should only be used for a few particularly interesting jobs (in
42− terms of giving feedback to developers), such as stdenv. */
43− prio = level: job: toJob job // { schedulingPriority = level; };
44−
45−
4639 toJob = x: if builtins.isAttrs x then x else
47− { type = "job"; systems = x; schedulingPriority = 10; };
40+ { type = "job"; systems = x; };
4841
4942
5043 /* Build a package on the given set of platforms. The function `f'
@@ -73,9 +66,7 @@ rec {
7366 (path: value:
7467 let
7568 job = toJob value;
76− getPkg = pkgs:
77− pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
78− (pkgs.lib.getAttrFromPath path pkgs);
69+ getPkg = pkgs: pkgs.lib.getAttrFromPath path pkgs;
7970 in testOn job.systems getPkg);
8071
8172
@@ -87,11 +78,8 @@ rec {
8778 (path: value:
8879 let
8980 job = toJob value;
90− getPkg = pkgs: (pkgs.lib.addMetaAttrs {
91− schedulingPriority = toString job.schedulingPriority;
92− maintainers = crossMaintainers;
93− }
94− (pkgs.lib.getAttrFromPath path pkgs));
81+ getPkg = pkgs: pkgs.lib.addMetaAttrs { maintainers = crossMaintainers; }
82+ (pkgs.lib.getAttrFromPath path pkgs);
9583 in testOnCross crossSystem job.systems getPkg);
9684
9785