From 388c8e0c608eee521b2c88befeb8beecd24d156b Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Mon, 2 Aug 2010 16:11:44 +0000 Subject: [PATCH] Removed the zip function, since it is in pkgs.lib now svn path=/nixos/trunk/; revision=22883 --- lib/build-vms.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/build-vms.nix b/lib/build-vms.nix index d52aefdf6b0a..37be44ab6b09 100644 --- a/lib/build-vms.nix +++ b/lib/build-vms.nix @@ -117,13 +117,4 @@ rec { in lib.listToAttrs nodes_; - - # Zip two lists together. Should be moved to pkgs.lib. - zip = xs: ys: - if xs != [] && ys != [] then - [ {first = lib.head xs; second = lib.head ys;} ] - ++ zip (lib.tail xs) (lib.tail ys) - else []; - - }