Skip to content

Commit

Permalink
fix: allow nodeSpecialArgs to override name and nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed May 18, 2023
1 parent caf33af commit 83e966f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nix/hive/eval.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ let
colmenaOptions.deploymentOptions
hive.defaults
] ++ configs;
specialArgs = hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {}) // {
specialArgs = hive.meta.specialArgs // {
inherit name;
nodes = uncheckedNodes;
};
} // (hive.meta.nodeSpecialArgs.${name} or {});
};

nodeNames = filter (name: ! elem name reservedNames) (attrNames hive);
Expand Down

0 comments on commit 83e966f

Please sign in to comment.