mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
Changed zip into lib.zip. Sorry :$
svn path=/nixos/trunk/; revision=22884
This commit is contained in:
parent
388c8e0c60
commit
58204f0a8a
@ -73,12 +73,12 @@ rec {
|
||||
|
||||
machines = lib.attrNames nodes;
|
||||
|
||||
machinesNumbered = zip machines (lib.range 1 254);
|
||||
machinesNumbered = lib.zip machines (lib.range 1 254);
|
||||
|
||||
nodes_ = lib.flip map machinesNumbered (m: lib.nameValuePair m.first
|
||||
[ ( { config, pkgs, nodes, ... }:
|
||||
let
|
||||
interfacesNumbered = zip config.virtualisation.vlans (lib.range 1 255);
|
||||
interfacesNumbered = lib.zip config.virtualisation.vlans (lib.range 1 255);
|
||||
interfaces =
|
||||
lib.flip map interfacesNumbered ({ first, second }:
|
||||
{ name = "eth${toString second}";
|
||||
|
Loading…
Reference in New Issue
Block a user