clan-nixos-test: pass clan-core to test nodes via module args
This allows tests that need access to clan-core (e.g. for clan-cli or dependencies) to use it within their node configurations.
This commit is contained in:
@@ -45,6 +45,14 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
hostPkgs = pkgs;
|
hostPkgs = pkgs;
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
imports = [
|
||||||
|
{
|
||||||
|
_module.args.clan-core = self;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
@@ -65,6 +73,14 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
hostPkgs = pkgs;
|
hostPkgs = pkgs;
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
imports = [
|
||||||
|
{
|
||||||
|
_module.args.clan-core = self;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
) cfg)
|
) cfg)
|
||||||
|
|||||||
Reference in New Issue
Block a user