Unverified Commit 308657da authored by Lily Foster's avatar Lily Foster
Browse files

nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it

It looks like the systemd-initrd variant of the systemd-shutdown test
(systemd-initrd-shutdown) did not actually enable the systemd-initrd and
so was just evaluating to the same store path before this change.
parent b69883fa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ in {
    systemd.shutdownRamfs.contents."/etc/systemd/system-shutdown/shutdown-message".source = pkgs.writeShellScript "shutdown-message" ''
      echo "${msg}"
    '';
    boot.initrd.systemd.enable = systemdStage1;
  };

  testScript = ''