mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
containers: fix dynamic hash lookup
we want the content of attribute as a key:
b9df84cd4f
broke this
This commit is contained in:
parent
cdec20ac58
commit
d6ce2e4bcb
@ -159,7 +159,7 @@ let
|
||||
fi
|
||||
''
|
||||
else
|
||||
''${ipcmd} add ${cfg.attribute} dev $ifaceHost'';
|
||||
''${ipcmd} add ${cfg.${attribute}} dev $ifaceHost'';
|
||||
renderExtraVeth = name: cfg:
|
||||
if cfg.hostBridge != null then
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user