From 0e79b7a46b704e72600891e1ff672e3fa940abcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 19 Sep 2009 22:07:37 +0000 Subject: [PATCH] guile-2-test: Add missing definition for `toJob'. svn path=/nixpkgs/trunk/; revision=17283 --- pkgs/top-level/guile-2-test.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/guile-2-test.nix b/pkgs/top-level/guile-2-test.nix index 43aa862f54f..8822f36c53d 100644 --- a/pkgs/top-level/guile-2-test.nix +++ b/pkgs/top-level/guile-2-test.nix @@ -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