summary refs log tree commit diff
path: root/nixos/tests/os-prober.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/os-prober.nix')
-rw-r--r--nixos/tests/os-prober.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/os-prober.nix b/nixos/tests/os-prober.nix
index 3cc38ebe347..a7b955d4472 100644
--- a/nixos/tests/os-prober.nix
+++ b/nixos/tests/os-prober.nix
@@ -58,9 +58,9 @@ let
           [ ./hardware-configuration.nix
             <nixpkgs/nixos/modules/testing/test-instrumentation.nix>
           ];
-    } // (builtins.fromJSON (builtins.readFile ${
+    } // pkgs.lib.importJSON ${
       pkgs.writeText "simpleConfig.json" (builtins.toJSON simpleConfig)
-    })))
+    })
   '';
 in {
   name = "os-prober";