1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Getting the hydra cross-trunk builds have proper low priority (that of toJob)

svn path=/nixpkgs/trunk/; revision=20495
This commit is contained in:
Lluís Batlle i Rossell 2010-03-09 14:49:30 +00:00
parent da8c9de5a8
commit 570759c288

View file

@ -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. */