From d412d429fab9380fe4d054f928b79c6b54da11fb Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 10 Feb 2020 15:45:02 +0100 Subject: core/tests: Fix option check for buildkite-agents Another thing I missed in ffa7a45ba0aa27c926472e23587423bc07a6db53 is that not only the module got renamed, but its interface has changed as well and instead of an "enable" option, it's now just an attribute set of submodules and the service(s) are enabled whenever it's non-empty. Signed-off-by: aszlig --- modules/core/tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core') diff --git a/modules/core/tests.nix b/modules/core/tests.nix index 4e242e98..46d96509 100644 --- a/modules/core/tests.nix +++ b/modules/core/tests.nix @@ -50,7 +50,7 @@ let || config.services.opentracker.enable; path = ["nixos" "bittorrent"]; } - { check = config.services.buildkite-agents.enable; + { check = config.services.buildkite-agents != {}; path = ["nixos" "buildkite-agents"]; } { check = config.vuizvui.createISO; -- cgit 1.4.1