diff options
| author | figsoda <figsoda@pm.me> | 2022-09-26 22:04:07 -0400 |
|---|---|---|
| committer | figsoda <figsoda@pm.me> | 2022-09-26 22:18:54 -0400 |
| commit | 07b3a5a0ddb569cf903101db3650c0a645b1426d (patch) | |
| tree | 86e59da299b044a2d7e4d72e75fb9ef2f8802f13 /lib/generators.nix | |
| parent | top-level/octave-packages.nix: remove unused bindings (diff) | |
| download | nixpkgs-07b3a5a0ddb569cf903101db3650c0a645b1426d.tar.gz | |
lib/generators.nix: remove unused bindings
Diffstat (limited to 'lib/generators.nix')
| -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 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"; |
