From 308657daec2c8d3508b34f171305e9b10d297267 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Thu, 23 Feb 2023 19:42:45 -0500 Subject: 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. --- nixos/tests/systemd-shutdown.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/tests') diff --git a/nixos/tests/systemd-shutdown.nix b/nixos/tests/systemd-shutdown.nix index 688cd6dd2c175..dad8167f198fc 100644 --- a/nixos/tests/systemd-shutdown.nix +++ b/nixos/tests/systemd-shutdown.nix @@ -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 = '' -- cgit 1.4.1