diff options
author | Silvan Mosberger <contact@infinisil.com> | 2022-03-02 19:42:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 19:42:48 +0100 |
commit | 6bcfd611090b40d94d000b65179b19636cc8fe6c (patch) | |
tree | 5fe673e2f9529c41ff5b17cbb360a9093b86fb2b /lib | |
parent | a0148164d616667a9e7705dde9c97af92234d817 (diff) | |
parent | fb023114ed4f41a1e66acb505e23eccf6eaa5050 (diff) |
Merge pull request #162283 from Infinisil/functionTo.description
lib/types: Fix functionTo description
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix index acc7eac104eeb..3fcac9c31b313 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -514,7 +514,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; |