From 74f22ff827d7c91fe26a62c69a53556a62ecc70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sun, 28 Feb 2016 22:30:51 +0000 Subject: [PATCH] prepare for 16.03 --- 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 18f270cd531..c062e81c69b 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 cfe152cc163..a0ed18c3678 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;