Remove scheduling priorities
This was only used for stdenv and is pretty obsolete now.
This commit is contained in:
parent
c8d5a73f67
commit
ab10131663
@ -36,15 +36,8 @@ rec {
|
|||||||
crossMaintainers = with pkgs.lib.maintainers; [ viric ];
|
crossMaintainers = with pkgs.lib.maintainers; [ viric ];
|
||||||
|
|
||||||
|
|
||||||
/* Set the Hydra scheduling priority for a job. The default
|
|
||||||
priority (10) should be used for most jobs. A different priority
|
|
||||||
should only be used for a few particularly interesting jobs (in
|
|
||||||
terms of giving feedback to developers), such as stdenv. */
|
|
||||||
prio = level: job: toJob job // { schedulingPriority = level; };
|
|
||||||
|
|
||||||
|
|
||||||
toJob = x: if builtins.isAttrs x then x else
|
toJob = x: if builtins.isAttrs x then x else
|
||||||
{ type = "job"; systems = x; schedulingPriority = 10; };
|
{ type = "job"; systems = x; };
|
||||||
|
|
||||||
|
|
||||||
/* Build a package on the given set of platforms. The function `f'
|
/* Build a package on the given set of platforms. The function `f'
|
||||||
@ -73,9 +66,7 @@ rec {
|
|||||||
(path: value:
|
(path: value:
|
||||||
let
|
let
|
||||||
job = toJob value;
|
job = toJob value;
|
||||||
getPkg = pkgs:
|
getPkg = pkgs: pkgs.lib.getAttrFromPath path pkgs;
|
||||||
pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
|
|
||||||
(pkgs.lib.getAttrFromPath path pkgs);
|
|
||||||
in testOn job.systems getPkg);
|
in testOn job.systems getPkg);
|
||||||
|
|
||||||
|
|
||||||
@ -87,11 +78,8 @@ rec {
|
|||||||
(path: value:
|
(path: value:
|
||||||
let
|
let
|
||||||
job = toJob value;
|
job = toJob value;
|
||||||
getPkg = pkgs: (pkgs.lib.addMetaAttrs {
|
getPkg = pkgs: pkgs.lib.addMetaAttrs { maintainers = crossMaintainers; }
|
||||||
schedulingPriority = toString job.schedulingPriority;
|
(pkgs.lib.getAttrFromPath path pkgs);
|
||||||
maintainers = crossMaintainers;
|
|
||||||
}
|
|
||||||
(pkgs.lib.getAttrFromPath path pkgs));
|
|
||||||
in testOnCross crossSystem job.systems getPkg);
|
in testOnCross crossSystem job.systems getPkg);
|
||||||
|
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ let
|
|||||||
spidermonkey = linux;
|
spidermonkey = linux;
|
||||||
squid = linux;
|
squid = linux;
|
||||||
ssmtp = linux;
|
ssmtp = linux;
|
||||||
stdenv = prio 175 all;
|
stdenv = all;
|
||||||
stlport = linux;
|
stlport = linux;
|
||||||
su = linux;
|
su = linux;
|
||||||
sudo = linux;
|
sudo = linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user