summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-02-27 18:00:58 +0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-02-29 13:13:06 +0000
commit898a11a51256a8915330f430e79ed31e1c5612e7 (patch)
treefc2f2f5028814900f12355decc3538bff4e88702
parentMerge #292275: zabbix40: unblock evaluation and fetching (diff)
downloadnixpkgs-origin/backport-291855-to-release-23.11.tar.gz
nixos/lib/testing: remove another source of unnecessary test rebuildsorigin/backport-291855-to-release-23.11
(cherry picked from commit bde7471aa2d06b1562352677b12b493d0dd7a26c)
-rw-r--r--nixos/lib/testing/nixos-test-base.nix5
1 files changed, 4 insertions, 1 deletions
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";
+ };
}
];