fix(hive.nix): Remove inifinite recursion

This commit is contained in:
Tom Hubrecht 2024-12-08 11:59:39 +01:00
parent eb5b8740a8
commit 3a58ac3fdc
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

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