From 88fa50c2f2bbc472fe7169eac8f2a1b2312ef03b Mon Sep 17 00:00:00 2001 From: Uli Baum Date: Mon, 14 May 2018 00:01:15 +0200 Subject: [PATCH] nixos/tests: set default stateVersion in test VMs ... to avoid lots of warnings during eval introduced by 1f0b6922d3c --- nixos/modules/testing/test-instrumentation.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 98da55ed68a..3d46ba72493 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -129,6 +129,9 @@ in users.extraUsers.root.initialHashedPassword = mkOverride 150 ""; services.xserver.displayManager.job.logToJournal = true; + + # set default stateVersion to avoid warnings during eval + system.nixos.stateVersion = mkDefault "18.03"; }; }