diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-12-09 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-12-09 12:00:00 +0000 |
commit | 6f2ed3cd1e0a8de8ec132c7e1d6d821ce4ab9e2f (patch) | |
tree | 2f7a4e1c6dfcdf0ace3f41ca37f0de7369dccc15 /nixos/tests/os-prober.nix | |
parent | 4f984654eeb4cee3d47ba896f626e486b362be8c (diff) |
nixosTests.os-prober: fix infinite recursion
Diffstat (limited to 'nixos/tests/os-prober.nix')
-rw-r--r-- | nixos/tests/os-prober.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/os-prober.nix b/nixos/tests/os-prober.nix index a7b955d447215..c1e29b0f68b41 100644 --- a/nixos/tests/os-prober.nix +++ b/nixos/tests/os-prober.nix @@ -53,12 +53,12 @@ let }; # /etc/nixos/configuration.nix for the vm configFile = pkgs.writeText "configuration.nix" '' - {config, pkgs, ...}: ({ + {config, pkgs, lib, ...}: ({ imports = [ ./hardware-configuration.nix <nixpkgs/nixos/modules/testing/test-instrumentation.nix> ]; - } // pkgs.lib.importJSON ${ + } // lib.importJSON ${ pkgs.writeText "simpleConfig.json" (builtins.toJSON simpleConfig) }) ''; @@ -114,7 +114,7 @@ in { "${configFile}", "/etc/nixos/configuration.nix", ) - machine.succeed("nixos-rebuild boot >&2") + machine.succeed("nixos-rebuild boot --show-trace >&2") machine.succeed("egrep 'menuentry.*debian' /boot/grub/grub.cfg") ''; |