From f1ad8384911c2d7ac77cae914c09c95e30fc0ecf Mon Sep 17 00:00:00 2001 From: nzbr Date: Thu, 22 Dec 2022 21:26:03 +0100 Subject: fix toJSON --- modules/version.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/version.nix b/modules/version.nix index 3c6438e..c87a956 100644 --- a/modules/version.nix +++ b/modules/version.nix @@ -60,7 +60,7 @@ with lib; '') config.wsl.version )} --json) - echo '${toJSON config.wsl.version}' | ${pkgs.jq}/bin/jq # Use jq to pretty-print the JSON + echo '${generators.toJSON {} config.wsl.version}' | ${pkgs.jq}/bin/jq # Use jq to pretty-print the JSON exit 0 ;; *) -- cgit v1.2.3