Merge pull request #93228 from srhb/kubernetes-fixup-test

nixos/tests/kubernetes: Don't re-import <nixpkgs>
This commit is contained in:
Sarah Brofeldt
2020-07-16 09:17:06 +02:00
committed by GitHub

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));