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
commit 45f4bdec2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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