Chore: add _file for internals error tracing

This commit is contained in:
Johannes Kirschbauer
2025-06-25 15:47:15 +02:00
parent 1819243123
commit 16392622c5
7 changed files with 15 additions and 5 deletions

View File

@@ -121,6 +121,7 @@
roleName: roleSettingsModule:
mkOption {
type = types.submodule {
_file = "docs flake-module";
imports = [
{ _module.args = { inherit clanLib; }; }
(import ../../../lib/inventory/build-inventory/roles-interface.nix {
@@ -148,7 +149,10 @@
mkScope = name: modules: {
inherit name;
modules = [
{ _module.args = { inherit clanLib; }; }
{
_module.args = { inherit clanLib; };
_file = "docs mkScope";
}
{ noInstanceOptions = true; }
../../../lib/inventory/build-inventory/interface.nix
] ++ mapAttrsToList fakeInstanceOptions modules;