Skip to content

Commit ef42cff

Browse files
committed
firecracker: use writeJSON
1 parent 21c36d1 commit ef42cff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/runners/firecracker.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ let
5656
vsock = null;
5757
};
5858

59-
configFile = pkgs.writeText "firecracker-${hostName}.json" (
60-
builtins.toJSON config
61-
);
59+
configFile = pkgs.writers.writeJSON "firecracker-${hostName}.json" config;
6260

6361
in {
6462
command =

0 commit comments

Comments
 (0)