Skip to content

Commit 84e5852

Browse files
committed
testing/test-instrumentation: Decrease stateVersion priority
Set the priority of `system.stateVersion` between `mkDefault` and `mkOptionDefault`. Since this is set unconditionally for test instrumentation purposes, and it is specifically set to: ``` Squelch warning about unset system.stateVersion ``` it should be no problem to not conflict if someone if setting this option as `mkDefault`.
1 parent 3a8c9fa commit 84e5852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/testing/test-instrumentation.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ in
239239
services.qemuGuest.package = pkgs.qemu_test.ga;
240240

241241
# Squelch warning about unset system.stateVersion
242-
system.stateVersion = lib.mkDefault lib.trivial.release;
242+
system.stateVersion = (lib.mkOverride 1200) lib.trivial.release;
243243
};
244244

245245
}

0 commit comments

Comments
 (0)