From 07b3a5a0ddb569cf903101db3650c0a645b1426d Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 26 Sep 2022 22:04:07 -0400 Subject: lib/generators.nix: remove unused bindings --- lib/generators.nix | 4 ++-- 1 file 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"; -- cgit 1.4.1