Merge pull request #127628 from blaggacao/da/fix-constant-nixos-revision

nixosTest: Force system.nixos.revision constant

authored by

Robert Hensing and committed by
GitHub
59bbfdf3 3be5e924

+1 -1
+1 -1
nixos/lib/build-vms.nix
··· 41 41 # The human version (e.g. 21.05-pre) is left as is, because it is useful 42 42 # for external modules that test with e.g. nixosTest and rely on that 43 43 # version number. 44 - config.system.nixos.revision = "constant-nixos-revision"; 44 + config.system.nixos.revision = mkForce "constant-nixos-revision"; 45 45 } 46 46 { key = "nodes"; _module.args.nodes = nodes; } 47 47 ] ++ optional minimal ../modules/testing/minimal-kernel.nix;