From fb023114ed4f41a1e66acb505e23eccf6eaa5050 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 1 Mar 2022 02:04:35 +0100 Subject: [PATCH] lib/types: Fix functionTo description --- lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.nix b/lib/types.nix index c47a35cd0d67..e36b874840bf 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -510,7 +510,7 @@ rec { functionTo = elemType: mkOptionType { name = "functionTo"; - description = "function that evaluates to a(n) ${elemType.name}"; + description = "function that evaluates to a(n) ${elemType.description}"; check = isFunction; merge = loc: defs: fnArgs: (mergeDefinitions (loc ++ [ "[function body]" ]) elemType (map (fn: { inherit (fn) file; value = fn.value fnArgs; }) defs)).mergedValue;