about summary refs log tree commit diff
path: root/modules/core
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2020-02-10 15:45:02 +0100
committeraszlig <aszlig@nix.build>2020-02-10 15:45:02 +0100
commitd412d429fab9380fe4d054f928b79c6b54da11fb (patch)
treeda55bc2c5ad36cf0190ed8efc25f938782d93c8d /modules/core
parent4864e33054c9ba92ccb2bb6b35c31a9a8293dd46 (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/tests.nix2
1 files changed, 1 insertions, 1 deletions
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;