lib/generators.nix: remove unused bindings
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user