ClanModules: make all module available to inventory
This commit is contained in:
@@ -135,6 +135,8 @@ let
|
||||
in
|
||||
if builtins.pathExists path then
|
||||
path
|
||||
else if role == "default" then
|
||||
{ }
|
||||
else
|
||||
throw "Module doesn't have role: '${role}'. Path: ${path} not found."
|
||||
) inverseRoles.${machineName} or [ ];
|
||||
|
||||
Reference in New Issue
Block a user