forked from DGNum/infrastructure
fix(hive.nix): Remove inifinite recursion
This commit is contained in:
parent
eb5b8740a8
commit
3a58ac3fdc
1 changed files with 3 additions and 3 deletions
6
hive.nix
6
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, ... }:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue