nixos/tests/kubernetes: Don't re-import <nixpkgs>

This commit is contained in:
Sarah Brofeldt 2020-07-16 08:44:04 +02:00
parent 11ae0fb1ad
commit 7ab42c176c

View File

@ -9,7 +9,6 @@ with pkgs.lib;
let
mkKubernetesBaseTest =
{ name, domain ? "my.zyx", test, machines
, pkgs ? import <nixpkgs> { inherit system; }
, extraConfiguration ? null }:
let
masterName = head (filter (machineName: any (role: role == "master") machines.${machineName}.roles) (attrNames machines));