nixosTests.nixops: Revert "tests.nixops: fix broken eval" to fix eval

This reverts commit c946245c7a.

Without the change test eval fail at top level of `nixpkgs` as:

    $ nix build --no-link -f. nixosTests.nixops
       error: function 'anonymous lambda' called without required argument 'testers'
This commit is contained in:
Sergei Trofimovich 2023-12-28 00:37:28 +00:00
parent 0654bfb1e4
commit 51d29a4759

View File

@ -1,6 +1,4 @@
{ pkgs
, testers
, ... }:
{ pkgs, ... }:
let
inherit (pkgs) lib;
@ -21,7 +19,7 @@ let
passthru.override = args': testsForPackage (args // args');
};
testLegacyNetwork = { nixopsPkg, ... }: testers.nixosTest ({
testLegacyNetwork = { nixopsPkg, ... }: pkgs.nixosTest ({
name = "nixops-legacy-network";
nodes = {
deployer = { config, lib, nodes, pkgs, ... }: {