From 16821ddb55c3b5a1197d19420d9ccf7cd57ff415 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Apr 2024 15:06:47 +0200 Subject: [PATCH] nixos/test-instrumentation: fix deprecation warning Linux prints a deprecation warning when clock= is used on the command line, and has done since 2006. The replacement is clocksource=. The clocksource output on the console looks like same before and after this change. --- nixos/modules/testing/test-instrumentation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 50a54a006415..b07433f5c18f 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -170,7 +170,7 @@ in # thing, but for VM tests it should provide a bit more # determinism (e.g. if the VM runs at lower speed, then # timeouts in the VM should also be delayed). - "clock=acpi_pm" + "clocksource=acpi_pm" ]; # `xwininfo' is used by the test driver to query open windows.