lib/generators.nix: remove unused bindings

This commit is contained in:
figsoda
2022-09-26 22:04:07 -04:00
parent 048e15d70d
commit 07b3a5a0dd

View File

@@ -243,7 +243,7 @@ rec {
toYAML = {}@args: toJSON args; toYAML = {}@args: toJSON args;
withRecursion = withRecursion =
args@{ {
/* If this option is not null, the given value will stop evaluating at a certain depth */ /* If this option is not null, the given value will stop evaluating at a certain depth */
depthLimit depthLimit
/* If this option is true, an error will be thrown, if a certain given depth is exceeded */ /* If this option is true, an error will be thrown, if a certain given depth is exceeded */
@@ -287,7 +287,7 @@ rec {
allowPrettyValues ? false, allowPrettyValues ? false,
/* If this option is true, the output is indented with newlines for attribute sets and lists */ /* If this option is true, the output is indented with newlines for attribute sets and lists */
multiline ? true multiline ? true
}@args: }:
let let
go = indent: v: with builtins; go = indent: v: with builtins;
let isPath = v: typeOf v == "path"; let isPath = v: typeOf v == "path";