diff options
-rw-r--r-- | lib/generators.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators.nix b/lib/generators.nix index 431b93c4ebbc6..40e88b5634900 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -243,7 +243,7 @@ rec { toYAML = {}@args: toJSON args; withRecursion = - args@{ + { /* If this option is not null, the given value will stop evaluating at a certain depth */ depthLimit /* If this option is true, an error will be thrown, if a certain given depth is exceeded */ @@ -287,7 +287,7 @@ rec { allowPrettyValues ? false, /* If this option is true, the output is indented with newlines for attribute sets and lists */ multiline ? true - }@args: + }: let go = indent: v: with builtins; let isPath = v: typeOf v == "path"; |