summary refs log tree commit diff
path: root/pkgs/top-level/release-lib.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-06 11:37:40 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-06 11:55:47 +0100
commitab1013166332fc04de08727ed9a59701ee898147 (patch)
tree6a9b0ba7d72a452529d9d43b2002e052b0067d8b /pkgs/top-level/release-lib.nix
parentc8d5a73f67776f71ea5e44bfd031d1d90f771862 (diff)
downloadnixlib-ab1013166332fc04de08727ed9a59701ee898147.tar
nixlib-ab1013166332fc04de08727ed9a59701ee898147.tar.gz
nixlib-ab1013166332fc04de08727ed9a59701ee898147.tar.bz2
nixlib-ab1013166332fc04de08727ed9a59701ee898147.tar.lz
nixlib-ab1013166332fc04de08727ed9a59701ee898147.tar.xz
nixlib-ab1013166332fc04de08727ed9a59701ee898147.tar.zst
nixlib-ab1013166332fc04de08727ed9a59701ee898147.zip
Remove scheduling priorities
This was only used for stdenv and is pretty obsolete now.
Diffstat (limited to 'pkgs/top-level/release-lib.nix')
-rw-r--r--pkgs/top-level/release-lib.nix20
1 files changed, 4 insertions, 16 deletions
diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix
index cc27693ab2be..47e2faaa48fd 100644
--- a/pkgs/top-level/release-lib.nix
+++ b/pkgs/top-level/release-lib.nix
@@ -36,15 +36,8 @@ rec {
   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
-    { type = "job"; systems = x; schedulingPriority = 10; };
+    { type = "job"; systems = x; };
 
 
   /* Build a package on the given set of platforms.  The function `f'
@@ -73,9 +66,7 @@ rec {
     (path: value:
       let
         job = toJob value;
-        getPkg = pkgs:
-          pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
-          (pkgs.lib.getAttrFromPath path pkgs);
+        getPkg = pkgs: pkgs.lib.getAttrFromPath path pkgs;
       in testOn job.systems getPkg);
 
 
@@ -87,11 +78,8 @@ rec {
     (path: value:
       let
         job = toJob value;
-        getPkg = pkgs: (pkgs.lib.addMetaAttrs {
-            schedulingPriority = toString job.schedulingPriority;
-            maintainers = crossMaintainers;
-          }
-          (pkgs.lib.getAttrFromPath path pkgs));
+        getPkg = pkgs: pkgs.lib.addMetaAttrs { maintainers = crossMaintainers; }
+          (pkgs.lib.getAttrFromPath path pkgs);
       in testOnCross crossSystem job.systems getPkg);