Author: sandervanderburg
Date: Mon Aug 2 16:11:44 2010
New Revision: 22883
URL: https://svn.nixos.org/websvn/nix/?rev=22883&sc=1
Log:
Removed the zip function, since it is in pkgs.lib now
Modified:
nixos/trunk/lib/build-vms.nix
Modified: nixos/trunk/lib/build-vms.nix
==============================================================================
--- nixos/trunk/lib/build-vms.nix Mon Aug 2 16:10:01 2010 (r22882)
+++ nixos/trunk/lib/build-vms.nix Mon Aug 2 16:11:44 2010 (r22883)
@@ -117,13 +117,4 @@
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 [];
-
-
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits