about summary refs log tree commit diff
path: root/pkgs/servers/corosync
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-12-28 20:37:13 +0000
committerSergei Trofimovich <slyich@gmail.com>2023-12-28 20:37:13 +0000
commitca0f0e35454f787d03ff80897bc5755d7e94ec11 (patch)
tree4f97cdb0d8b4414f9946a2e16a6510b4dc0c1f3e /pkgs/servers/corosync
parentae9397e83b3c9c4358fdd8503d45fd9259a00b34 (diff)
corosync: fix `tests` eval
Without the change attempt to run tests fails as:

    $ nix build --no-link -f. corosync.tests
    error: undefined variable 'nixosTests'
           68|   passthru.tests = {
           69|     inherit (nixosTests) pacemaker;
             |              ^
           70|   };
Diffstat (limited to 'pkgs/servers/corosync')
-rw-r--r--pkgs/servers/corosync/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/corosync/default.nix b/pkgs/servers/corosync/default.nix
index 12cf26db2b2ac..f1d81aae92faf 100644
--- a/pkgs/servers/corosync/default.nix
+++ b/pkgs/servers/corosync/default.nix
@@ -4,6 +4,7 @@
 , enableInfiniBandRdma ? false
 , enableMonitoring ? false
 , enableSnmp ? false
+, nixosTests
 }:
 
 with lib;