types.attrTag: Remove substSubmodules

I haven't managed to trigger the error, and it turns out that this
method is optional.
Specifically, getSubmodules is unimplemented (and unimplementable),
the tests pass, and we seem to have good location info.
This commit is contained in:
Robert Hensing 2024-04-04 11:45:03 +02:00
parent 47e4a18d01
commit 2d791b5f7b
1 changed files with 0 additions and 9 deletions

View File

@ -662,15 +662,6 @@ rec {
};
})
tags;
substSubModules = m:
attrTag
(mapAttrs
(n: opt:
opt // {
type = (opt.type or types.unspecified).substSubModules m;
}
)
tags);
check = v: isAttrs v && length (attrNames v) == 1 && tags?${head (attrNames v)};
merge = loc: defs:
let