summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar2016-02-28 22:30:51 +0000
committerDomen Kožar2016-02-28 22:30:51 +0000
commit74f22ff827d7c91fe26a62c69a53556a62ecc70c (patch)
tree95bc76d4c576bd06fd9c832549444063694df268
parent57f7ff00fe468f07fe72ffa8189ab5a4a5fa5ea1 (diff)
prepare for 16.03 16.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 18f270cd531b..c062e81c69b0 100644
--- a/nixos/modules/misc/version.nix
+++ b/nixos/modules/misc/version.nix
@@ -89,7 +89,7 @@ in
     defaultChannel = mkOption {
       internal = true;
       type = types.str;
-      default = https://nixos.org/channels/nixos-unstable;
+      default = https://nixos.org/channels/nixos-16.03;
       description = "Default NixOS channel to which the root user is subscribed.";
     };
 
diff --git a/nixos/release.nix b/nixos/release.nix
index cfe152cc163d..a0ed18c36786 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -9,7 +9,7 @@ let
 
   version = builtins.readFile ../.version;
   versionSuffix =
-    (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
+    (if stableBranch then "." else "pre") + "${toString (nixpkgs.revCount - 77900)}.${nixpkgs.shortRev}";
 
   forAllSystems = genAttrs supportedSystems;