From 6c9fb36526dffe3e62d411fc8cdaad82bb6fbfed Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 27 Feb 2017 20:12:01 +0100 Subject: [PATCH] release 17.03-beta --- nixos/modules/misc/version.nix | 2 +- nixos/release.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index bf20e801f61b..5ddd495532bd 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 2bfe8eada0b8..c618ea1879a1 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;