From 570759c288f16e28a6a12f5b54514d5e29dd7e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 9 Mar 2010 14:49:30 +0000 Subject: [PATCH] Getting the hydra cross-trunk builds have proper low priority (that of toJob) svn path=/nixpkgs/trunk/; revision=20495 --- pkgs/top-level/release-lib.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix index 1f88684d633..88d4e1fedd5 100644 --- a/pkgs/top-level/release-lib.nix +++ b/pkgs/top-level/release-lib.nix @@ -57,7 +57,12 @@ rec { (pkgs.lib.getAttrFromPath path pkgs)); in testOnCross crossSystem job.systems getPkg); - setCrossMaintainers = pkg: pkg // { meta.maintainers = crossMaintainers; }; + setCrossMaintainers = pkg: + pkg // + { + meta = (if pkg ? meta then pkg.meta else {}) + // { maintainers = crossMaintainers; }; + }; /* Find all packages that have a meta.platforms field listing the supported platforms. */