fix: allow specialArgs and nodeSpecialArgs to override name and nodes
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
This commit is contained in:
parent
caf33af7d8
commit
c6f42e447d
1 changed files with 2 additions and 2 deletions
|
@ -151,10 +151,10 @@ let
|
|||
colmenaOptions.deploymentOptions
|
||||
hive.defaults
|
||||
] ++ configs;
|
||||
specialArgs = hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {}) // {
|
||||
specialArgs = {
|
||||
inherit name;
|
||||
nodes = uncheckedNodes;
|
||||
};
|
||||
} // hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {});
|
||||
};
|
||||
|
||||
nodeNames = filter (name: ! elem name reservedNames) (attrNames hive);
|
||||
|
|
Loading…
Reference in a new issue