From 3f0f0c74e9ab7ae45a23c66897d434f07e1b18a2 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 28 Sep 2022 16:34:55 -0400 Subject: [PATCH] lib.generators: simplify toYAML --- lib/generators.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators.nix b/lib/generators.nix index 40e88b563490..28b2e39bf646 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -240,7 +240,7 @@ rec { * to implicit typing rules, so it should work with older * parsers as well. */ - toYAML = {}@args: toJSON args; + toYAML = toJSON; withRecursion = {