diff options
-rw-r--r-- | nixos/modules/misc/version.nix | 2 | ||||
-rw-r--r-- | 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 18f270cd531b8..c062e81c69b03 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 cfe152cc163d8..a0ed18c36786e 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; |