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:
parent
0654bfb1e4
commit
51d29a4759
@ -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, ... }: {
|
||||
|
Loading…
Reference in New Issue
Block a user