about summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorgithub-actions[bot]2024-09-24 00:16:10 +0000
committerGitHub2024-09-24 00:16:10 +0000
commitb6b063bdc265990fb87781682da974578b16443c (patch)
treebce72aa157c64696a2bf771800fb142c0dd09258 /nixos/release.nix
parent5b15a1f577931e4685cab06cdf782538e0e1deff (diff)
parentee35dc7c19dd00e4a122e36b24603687f6d04359 (diff)
Merge master into haskell-updates
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index eeca73ea4c55..8a8c45f8f842 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -49,7 +49,7 @@ let
     system.nixos.revision = nixpkgs.rev or nixpkgs.shortRev;
 
     # At creation time we do not have state yet, so just default to latest.
-    system.stateVersion = config.system.nixos.version;
+    system.stateVersion = config.system.nixos.release;
   };
 
   makeModules = module: rest: [ configuration versionModule module rest ];