From 67c6e8d59f66d3044af0a336cec1dbd322a5e4b9 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 29 Sep 2024 17:39:36 +0100 Subject: [PATCH] lib/types: `maybeRaw` should propagate `elemType`'s sub-options --- lib/types.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/types.nix b/lib/types.nix index 150a6604..5ae4ede7 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -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