diff --git a/nixos/tests/cntr.nix b/nixos/tests/cntr.nix index b7ae93f622ff..33c21dd2252d 100644 --- a/nixos/tests/cntr.nix +++ b/nixos/tests/cntr.nix @@ -92,7 +92,4 @@ in { nixos-container = mkContainersTest; } -// (lib.foldl' (attrs: backend: attrs // { ${backend} = mkOCITest backend; }) { } [ - "docker" - "podman" -]) +// (lib.genAttrs [ "docker" "podman" ] mkOCITest)