guile-2-test: Add missing definition for `toJob'.

svn path=/nixpkgs/trunk/; revision=17283
This commit is contained in:
Ludovic Courtès 2009-09-19 22:07:37 +00:00
parent e3351fb625
commit 0e79b7a46b
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ let
};
};
toJob = x: if builtins.isAttrs x then x else
{ type = "job"; systems = x; schedulingPriority = 10; };
/* Perform a job on the given set of platforms. The function `f' is
called by Hydra for each platform, and should return some job
to build on that platform. `f' is passed the Nixpkgs collection