Merge pull request 'Inventory/schema: disable warning until fully migrated' (#2231) from hsjobeki/clan-core:hsjobeki-main into main

This commit is contained in:
clan-bot
2024-10-08 17:38:23 +00:00

View File

@@ -32,17 +32,18 @@ let
] ++ (map (name: clanModules.${name}) modulenames);
};
in
lib.warn ''
EvalClanModules doesn't respect role specific interfaces.
# lib.warn ''
# EvalClanModules doesn't respect role specific interfaces.
The following {module}/default.nix file trying to be imported.
# The following {module}/default.nix file trying to be imported.
Modules: ${builtins.toJSON modulenames}
# Modules: ${builtins.toJSON modulenames}
This might result in incomplete or incorrect interfaces.
# This might result in incomplete or incorrect interfaces.
FIX: Use evalClanModuleWithRole instead.
'' evaled;
# FIX: Use evalClanModuleWithRole instead.
# ''
evaled;
/*
This function takes a list of module names and evaluates them