summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-02-27 20:12:01 +0100
committerRobin Gloster <mail@glob.in>2017-02-27 20:12:01 +0100
commit6c9fb36526dffe3e62d411fc8cdaad82bb6fbfed (patch)
treeddf63a2c8b1106bce44313b647ef53eccecd584f
parent8def08a56cf304fbc55090b280e35b798b72055a (diff)
release 17.03-beta 17.03-beta
-rw-r--r--nixos/modules/misc/version.nix2
-rw-r--r--nixos/release.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix
index bf20e801f61b6..5ddd495532bd4 100644
--- a/nixos/modules/misc/version.nix
+++ b/nixos/modules/misc/version.nix
@@ -78,7 +78,7 @@ in
     defaultChannel = mkOption {
       internal = true;
       type = types.str;
-      default = https://nixos.org/channels/nixos-unstable;
+      default = https://nixos.org/channels/nixos-17.03;
       description = "Default NixOS channel to which the root user is subscribed.";
     };
 
diff --git a/nixos/release.nix b/nixos/release.nix
index 2bfe8eada0b86..c618ea1879a1f 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -9,7 +9,7 @@ let
 
   version = fileContents ../.version;
   versionSuffix =
-    (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
+    (if stableBranch then "." else "beta") + "${toString (nixpkgs.revCount - 102184)}.${nixpkgs.shortRev}";
 
   forAllSystems = genAttrs supportedSystems;