From de77a794486a31f66cd0fb8cd90653941dbe6d20 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 11 Dec 2015 04:36:13 +0100 Subject: profiles/common: Add a new requiresTests option. The idea is that modules can define a list of test jobs which need to succeed whenever the module is used. In the end this should make channel updates a bit less frightening for people not already confident in using NixOS. Signed-off-by: aszlig --- release.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index 4ecbeabc..5245e267 100644 --- a/release.nix +++ b/release.nix @@ -83,7 +83,8 @@ in with pkgsUpstream.lib; with builtins; { machines = mapAttrsRecursiveCond (m: !(m ? build)) (path: attrs: mkChannel { name = "machine-${last path}"; - constituents = singleton attrs.build.config.system.build.toplevel; + constituents = singleton attrs.build.config.system.build.toplevel + ++ attrs.build.config.vuizvui.requiresTests; }) (import "${vuizvui}/machines" { inherit system; }); }; -- cgit 1.4.1