about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2024-05-16 10:00:23 -0700
committerGitHub <noreply@github.com>2024-05-16 10:00:23 -0700
commit007f0f90aa2b65a9cb2fdaeb77ed00c813be9097 (patch)
treef88ca8d053c53cfe68520b2d3e5f6090bf04193e /nixos
parent9202f18707f527c910ad9f8c37e13cf428b16b92 (diff)
parent099671c419e95121c4328909bce6ef94f75bb890 (diff)
Merge pull request #311574 from lf-/jade/fix-nixos-installtest-nixos-option
nixosTests.installer: test nixos-option anew
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installer.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 7e835041eb39f..b034d21146f35 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -249,12 +249,11 @@ let
       with subtest("Check whether nixos-rebuild works"):
           target.succeed("nixos-rebuild switch >&2")
 
-      # FIXME: Nix 2.4 broke nixos-option, someone has to fix it.
-      # with subtest("Test nixos-option"):
-      #     kernel_modules = target.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
+      with subtest("Test nixos-option"):
+          kernel_modules = target.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
 
       target.shutdown()