From 0f146213ded8979a4cc323edc8c081ba6b5f4542 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Mon, 6 Apr 2026 04:53:33 -0400 Subject: [PATCH] nixos/tests/hibernate: Explicit systemdStage1 arg --- nixos/tests/all-tests.nix | 4 +++- nixos/tests/hibernate.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 5d684cfe119a..02f1fd0e5583 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -727,7 +727,9 @@ in # 9pnet_virtio used to mount /nix partition doesn't support # hibernation. This test happens to work on x86_64-linux but # not on other platforms. - hibernate = handleTestOn [ "x86_64-linux" ] ./hibernate.nix { }; + hibernate = handleTestOn [ "x86_64-linux" ] ./hibernate.nix { + systemdStage1 = false; + }; hibernate-systemd-stage-1 = handleTestOn [ "x86_64-linux" ] ./hibernate.nix { systemdStage1 = true; }; diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 9b840a4e14da..53daec48d6c0 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -4,7 +4,7 @@ system ? builtins.currentSystem, config ? { }, pkgs ? import ../.. { inherit system config; }, - systemdStage1 ? false, + systemdStage1, }: with import ../lib/testing-python.nix { inherit system pkgs; };