1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

container: fix extraVeth submodule usage

the submodule needs options, not a plain set.
This commit is contained in:
Arnold Krille 2016-10-09 16:02:14 +02:00
parent 2e255a2edd
commit b6023f37ad

View file

@ -473,7 +473,7 @@ in
};
extraVeths = mkOption {
type = with types; attrsOf (submodule networkOptions);
type = with types; attrsOf (submodule { options = networkOptions; });
default = {};
description = ''
Extra veth-pairs to be created for the container