fix(hive.nix): Remove inifinite recursion
Some checks failed
Build all the nodes / bridge01 (push) Successful in 3m14s
Build all the nodes / geo02 (push) Successful in 3m30s
Build all the nodes / geo01 (push) Successful in 3m34s
Build all the nodes / storage01 (push) Successful in 3m55s
Build all the nodes / rescue01 (push) Successful in 3m56s
Build all the nodes / compute01 (push) Successful in 4m7s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / vault01 (push) Successful in 1m30s
Build all the nodes / web02 (push) Successful in 1m23s
Build all the nodes / web01 (push) Successful in 2m2s
Build all the nodes / web03 (push) Has been cancelled

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 # Function to create arguments based on the node
# #
mkArgs = node: rec { mkArgs = node: rec {
lib = nodePkgs.lib // { lib = sourcePkgs.lib // {
extra = nix-lib; extra = nix-lib;
}; };
nodePkgs = nodePkgs node; sourcePkgs = nodePkgs node;
meta = (import ./meta) lib; meta = (import ./meta) lib;
nodeMeta = meta.nodes.${node}; nodeMeta = meta.nodes.${node};
@ -101,7 +101,7 @@ in
registry = { registry = {
nixos = { 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 = defaults =
{ name, nodeMeta, ... }: { name, nodeMeta, ... }:
{ {