From bde7471aa2d06b1562352677b12b493d0dd7a26c Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 27 Feb 2024 18:00:58 +0300 Subject: [PATCH] nixos/lib/testing: remove another source of unnecessary test rebuilds --- nixos/lib/testing/nixos-test-base.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/lib/testing/nixos-test-base.nix b/nixos/lib/testing/nixos-test-base.nix index 59e6e3843367..5f7564d640f9 100644 --- a/nixos/lib/testing/nixos-test-base.nix +++ b/nixos/lib/testing/nixos-test-base.nix @@ -16,7 +16,10 @@ in # The human version (e.g. 21.05-pre) is left as is, because it is useful # for external modules that test with e.g. testers.nixosTest and rely on that # version number. - config.system.nixos.revision = mkForce "constant-nixos-revision"; + config.system.nixos = { + revision = mkForce "constant-nixos-revision"; + label = mkForce "test"; + }; } ];