Skip to content

Commit

Permalink
firecracker: use writeJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Oct 23, 2024
1 parent 21c36d1 commit ef42cff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/runners/firecracker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit ef42cff

Please sign in to comment.