diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-12-11 04:36:13 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-12-11 04:36:13 +0100 |
commit | de77a794486a31f66cd0fb8cd90653941dbe6d20 (patch) | |
tree | 8a256a4bd8ec3e6030155f0026d97dcae82ca1a5 /release.nix | |
parent | 93d9408a23e7693af7aa3a36d5df33a19c825523 (diff) |
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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; }); }; |