fix(inventory/interface): use explizit file dependency, until dependency injection works properly
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
{
|
||||
inherit (import ./build-inventory { inherit lib clanLib; }) buildInventory;
|
||||
interface = ./build-inventory/interface.nix;
|
||||
mapInstances = clanLib.callLib ./distributed-service/inventory-adapter.nix {};
|
||||
# Returns the list of machine names
|
||||
mapInstances = clanLib.callLib ./distributed-service/inventory-adapter.nix { };
|
||||
# Returns the list of machine names
|
||||
# { ... } -> [ string ]
|
||||
resolveTags =
|
||||
{
|
||||
|
||||
@@ -169,5 +169,6 @@ in
|
||||
grouped
|
||||
|
||||
allMachines
|
||||
importedModulesEvaluated;
|
||||
importedModulesEvaluated
|
||||
;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,8 @@ in
|
||||
specificMachineSettings = filterInternals res.importedModulesEvaluated.self-A.config.result.allMachines.jon.nixosModule.instance_foo.roles.peer.machines.jon.settings;
|
||||
|
||||
hasRoleSettings =
|
||||
res.importedModulesEvaluated.self-A.config.result.allMachines.jon.nixosModule.instance_foo.roles.peer ? settings;
|
||||
res.importedModulesEvaluated.self-A.config.result.allMachines.jon.nixosModule.instance_foo.roles.peer
|
||||
? settings;
|
||||
|
||||
# settings are specific.
|
||||
# Below we access:
|
||||
|
||||
Reference in New Issue
Block a user