From 2f183e56dd35cdc0b8a925328b2f1c815baa099c Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 13 Mar 2021 17:05:49 +0000 Subject: [PATCH] ops/nixos: fix systemPathJSON by using writeText instead of toFile --- ops/nixos/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix index 28f87f2573..ff2703c494 100644 --- a/ops/nixos/default.nix +++ b/ops/nixos/default.nix @@ -66,5 +66,5 @@ in systemDrvs // { netboot = netbootSystem.config.system.build.pixiecore; - systemPathJSON = builtins.toFile "systems.json" (builtins.toJSON systemDrvs); + systemPathJSON = pkgs.writeText "systems.json" (builtins.toJSON systemDrvs); }