summary refs log tree commit diff
path: root/nixos/modules/misc/version.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-08-12 10:33:41 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-08-12 10:33:41 +0200
commit00df25ee57fcc2227ffdbbff2280b13d898bfd7d (patch)
treea2cdc854489799c6d7900b0e5ac215b7b95d762a /nixos/modules/misc/version.nix
parent580cab57e4f188d25144e398d7b8e3d5085299a9 (diff)
parentbb3f7d14a17e88e4341872c55d8b32127c6f8101 (diff)
downloadnixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar.gz
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar.bz2
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar.lz
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar.xz
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.tar.zst
nixpkgs-00df25ee57fcc2227ffdbbff2280b13d898bfd7d.zip
Merge branch 'master' into staging-next
Hydra: ?compare=1472947
Diffstat (limited to 'nixos/modules/misc/version.nix')
-rw-r--r--nixos/modules/misc/version.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix
index 3be12e4a637..63717e0c6a8 100644
--- a/nixos/modules/misc/version.nix
+++ b/nixos/modules/misc/version.nix
@@ -76,9 +76,6 @@ in
 
   config = {
 
-    warnings = lib.optional (options.system.stateVersion.highestPrio > 1000)
-      "You don't have `system.stateVersion` explicitly set. Expect things to break.";
-
     system.nixos = {
       # These defaults are set here rather than up there so that
       # changing them would not rebuild the manual