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 --- modules/profiles/common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/profiles/common.nix') diff --git a/modules/profiles/common.nix b/modules/profiles/common.nix index 39535d4f..8621f6ae 100644 --- a/modules/profiles/common.nix +++ b/modules/profiles/common.nix @@ -33,6 +33,15 @@ with lib; The channel name which is used to refer to vuizvui. ''; }; + + requiresTests = mkOption { + type = types.listOf types.package; + default = []; + description = '' + A list of derivations which have to succeed in order to trigger a + channel update for the current configuration/machine. + ''; + }; }; config = { -- cgit 1.4.1