From 3a58ac3fdc1bf7896f001b8e61674f14abb05cd0 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 8 Dec 2024 11:59:39 +0100 Subject: [PATCH] fix(hive.nix): Remove inifinite recursion --- hive.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hive.nix b/hive.nix index ee4f749..6c1a087 100644 --- a/hive.nix +++ b/hive.nix @@ -75,11 +75,11 @@ let # Function to create arguments based on the node # mkArgs = node: rec { - lib = nodePkgs.lib // { + lib = sourcePkgs.lib // { extra = nix-lib; }; - nodePkgs = nodePkgs node; + sourcePkgs = nodePkgs node; meta = (import ./meta) lib; nodeMeta = meta.nodes.${node}; @@ -101,7 +101,7 @@ in registry = { nixos = { - evalConfig = args: import "${args.specialArgs.nodePkgs.path}/nixos/lib/eval-config.nix" args; + evalConfig = args: import "${args.specialArgs.sourcePkgs.path}/nixos/lib/eval-config.nix" args; defaults = { name, nodeMeta, ... }: {