From ca0f0e35454f787d03ff80897bc5755d7e94ec11 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 28 Dec 2023 20:37:13 +0000 Subject: [PATCH] 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| }; --- pkgs/servers/corosync/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/corosync/default.nix b/pkgs/servers/corosync/default.nix index 12cf26db2b2a..f1d81aae92fa 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;