mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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:
parent
47e4a18d01
commit
2d791b5f7b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user