nixos/tests/kubernetes: Don't re-import <nixpkgs>
This commit is contained in:
parent
11ae0fb1ad
commit
7ab42c176c
|
@ -9,7 +9,6 @@ with pkgs.lib;
|
||||||
let
|
let
|
||||||
mkKubernetesBaseTest =
|
mkKubernetesBaseTest =
|
||||||
{ name, domain ? "my.zyx", test, machines
|
{ name, domain ? "my.zyx", test, machines
|
||||||
, pkgs ? import <nixpkgs> { inherit system; }
|
|
||||||
, extraConfiguration ? null }:
|
, extraConfiguration ? null }:
|
||||||
let
|
let
|
||||||
masterName = head (filter (machineName: any (role: role == "master") machines.${machineName}.roles) (attrNames machines));
|
masterName = head (filter (machineName: any (role: role == "master") machines.${machineName}.roles) (attrNames machines));
|
||||||
|
|
Loading…
Reference in New Issue