From 5d59a9150ca793d2fbcb81f5ec0f2404aacb0988 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sat, 7 Jun 2025 20:12:59 +0800 Subject: [PATCH] nixosTests.cntr: use lib.genAttrs --- nixos/tests/cntr.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)