summaryrefslogtreecommitdiffstats
path: root/lib/generators.nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-09-26 22:04:07 -0400
committerfigsoda <figsoda@pm.me>2022-09-26 22:18:54 -0400
commit07b3a5a0ddb569cf903101db3650c0a645b1426d (patch)
tree86e59da299b044a2d7e4d72e75fb9ef2f8802f13 /lib/generators.nix
parent048e15d70d0332f86f8422c601a9d2fb186c3db5 (diff)
lib/generators.nix: remove unused bindings
Diffstat (limited to 'lib/generators.nix')
-rw-r--r--lib/generators.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators.nix b/lib/generators.nix
index 431b93c4ebbc..40e88b563490 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";