Loading nixos/modules/misc/version.nix +2 −1 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ let DOCUMENTATION_URL = lib.optionalString (cfg.distroId == "nixos") "https://nixos.org/learn.html"; SUPPORT_URL = lib.optionalString (cfg.distroId == "nixos") "https://nixos.org/community.html"; BUG_REPORT_URL = lib.optionalString (cfg.distroId == "nixos") "https://github.com/NixOS/nixpkgs/issues"; SUPPORT_END = "2023-12-31"; } // lib.optionalAttrs (cfg.variant_id != null) { VARIANT_ID = cfg.variant_id; }; Loading Loading @@ -143,7 +144,7 @@ in defaultChannel = mkOption { internal = true; type = types.str; default = "https://nixos.org/channels/nixos-unstable"; default = "https://nixos.org/channels/nixos-23.05"; description = lib.mdDoc "Default NixOS channel to which the root user is subscribed."; }; Loading nixos/release.nix +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ let version = fileContents ../.version; versionSuffix = (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}"; (if stableBranch then "." else "beta") + "${toString (nixpkgs.revCount - 487364)}.${nixpkgs.shortRev}"; # Run the tests for each platform. You can run a test by doing # e.g. ‘nix-build release.nix -A tests.login.x86_64-linux’, Loading Loading
nixos/modules/misc/version.nix +2 −1 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ let DOCUMENTATION_URL = lib.optionalString (cfg.distroId == "nixos") "https://nixos.org/learn.html"; SUPPORT_URL = lib.optionalString (cfg.distroId == "nixos") "https://nixos.org/community.html"; BUG_REPORT_URL = lib.optionalString (cfg.distroId == "nixos") "https://github.com/NixOS/nixpkgs/issues"; SUPPORT_END = "2023-12-31"; } // lib.optionalAttrs (cfg.variant_id != null) { VARIANT_ID = cfg.variant_id; }; Loading Loading @@ -143,7 +144,7 @@ in defaultChannel = mkOption { internal = true; type = types.str; default = "https://nixos.org/channels/nixos-unstable"; default = "https://nixos.org/channels/nixos-23.05"; description = lib.mdDoc "Default NixOS channel to which the root user is subscribed."; }; Loading
nixos/release.nix +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ let version = fileContents ../.version; versionSuffix = (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}"; (if stableBranch then "." else "beta") + "${toString (nixpkgs.revCount - 487364)}.${nixpkgs.shortRev}"; # Run the tests for each platform. You can run a test by doing # e.g. ‘nix-build release.nix -A tests.login.x86_64-linux’, Loading