From ef42cfface9940b9ce9614307670b60cdbda33f6 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 24 Oct 2024 01:39:52 +0200 Subject: [PATCH] firecracker: use writeJSON --- lib/runners/firecracker.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/runners/firecracker.nix b/lib/runners/firecracker.nix index 4103ca01..f4c71b63 100644 --- a/lib/runners/firecracker.nix +++ b/lib/runners/firecracker.nix @@ -56,9 +56,7 @@ let vsock = null; }; - configFile = pkgs.writeText "firecracker-${hostName}.json" ( - builtins.toJSON config - ); + configFile = pkgs.writers.writeJSON "firecracker-${hostName}.json" config; in { command =