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, ... }: {