lib/types: maybeRaw should propagate elemType's sub-options

This commit is contained in:
Matt Sturgeon 2024-09-29 17:39:36 +01:00
parent 4e2a022165
commit 67c6e8d59f
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -54,6 +54,11 @@ rec {
right = lib.warn "maybeRaw.nestedTypes: `right` is a deprecated alias for `rawLua`." rawLua;
inherit rawLua elemType;
};
inherit (elemType)
getSubModules
getSubOptions
substSubModules
;
};
# Describes an boolean-like integer flag that is either 0 or 1