mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 17:58:35 +00:00
svn path=/nixpkgs/branches/stdenv-updates/; revision=20504
This commit is contained in:
parent
1bb2ab1904
commit
d9b48d35fb
@ -9,14 +9,14 @@ rec {
|
||||
crossMaintainers = with pkgs.lib.maintainers; [ viric ];
|
||||
|
||||
/* Set the Hydra scheduling priority for a job. The default
|
||||
priority (100) should be used for most jobs. A different
|
||||
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
|
||||
{ type = "job"; systems = x; schedulingPriority = 10; };
|
||||
{ type = "job"; systems = x; schedulingPriority = 5; };
|
||||
|
||||
/* Perform a job on the given set of platforms. The function `f' is
|
||||
called by Hydra for each platform, and should return some job
|
||||
|
Loading…
Reference in New Issue
Block a user