From c6f42e447d423b7d076b1d4b52b74c1635727ebb Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 18 May 2023 18:03:10 +0200 Subject: [PATCH] fix: allow specialArgs and nodeSpecialArgs to override name and nodes Co-authored-by: Zhaofeng Li --- src/nix/hive/eval.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nix/hive/eval.nix b/src/nix/hive/eval.nix index 2109c19..f23a87c 100644 --- a/src/nix/hive/eval.nix +++ b/src/nix/hive/eval.nix @@ -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);