about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-11-11 06:01:37 +0000
committerGitHub <noreply@github.com>2021-11-11 06:01:37 +0000
commit679a57d577ea3c5a254ef6858e63e310b43c069f (patch)
tree1e7b472aff4b8d34eb2fa9e3d4727a54ea40d60f /nixos/tests
parent62b9b0d9e860b2223bb0d4a1fa1d06045197fe2d (diff)
parentf0e180170d41b81f8c5cbb8b70a5b973e1000b4e (diff)
downloadnixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar.gz
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar.bz2
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar.lz
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar.xz
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.tar.zst
nixlib-679a57d577ea3c5a254ef6858e63e310b43c069f.zip
Merge staging-next into staging
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/boot.nix2
-rw-r--r--nixos/tests/installer.nix11
2 files changed, 7 insertions, 6 deletions
diff --git a/nixos/tests/boot.nix b/nixos/tests/boot.nix
index e8440598a822..9945a1dcd62f 100644
--- a/nixos/tests/boot.nix
+++ b/nixos/tests/boot.nix
@@ -36,7 +36,7 @@ let
             machine = create_machine(${machineConfig})
             machine.start()
             machine.wait_for_unit("multi-user.target")
-            machine.succeed("nix verify -r --no-trust /run/current-system")
+            machine.succeed("nix store verify --no-trust -r --option experimental-features nix-command /run/current-system")
 
             with subtest("Check whether the channel got installed correctly"):
                 machine.succeed("nix-instantiate --dry-run '<nixpkgs>' -A hello")
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 48f0f5934255..73dc676ca32d 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -184,11 +184,12 @@ let
       with subtest("Check whether nixos-rebuild works"):
           machine.succeed("nixos-rebuild switch >&2")
 
-      with subtest("Test nixos-option"):
-          kernel_modules = machine.succeed("nixos-option boot.initrd.kernelModules")
-          assert "virtio_console" in kernel_modules
-          assert "List of modules" in kernel_modules
-          assert "qemu-guest.nix" in kernel_modules
+      # FIXME: Nix 2.4 broke nixos-option, someone has to fix it.
+      # with subtest("Test nixos-option"):
+      #     kernel_modules = machine.succeed("nixos-option boot.initrd.kernelModules")
+      #     assert "virtio_console" in kernel_modules
+      #     assert "List of modules" in kernel_modules
+      #     assert "qemu-guest.nix" in kernel_modules
 
       machine.shutdown()