summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2024-04-04 11:45:03 +0200
committerRobert Hensing <robert@roberthensing.nl>2024-04-04 12:00:54 +0200
commit2d791b5f7b6575f2153f5971a2046bec15f637f7 (patch)
treefe62c9d54642bcaebeb7b14c62772e0bcd1b6427 /lib
parent47e4a18d018be9efaa93a199e24fbeedc80f14be (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 2e44dd5472ee..694e800f5092 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -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