Skip to content

Commit cfed3b8

Browse files
lukegbjonringer
authored andcommitted
treewide: update 21.03 to 21.05
The NixOS 21.03 release has been delayed to 21.05. See NixOS/rfcs#80. There are two instances of 21.03 which have been left as is, since they are in stateVersion comparisons. This will ensure that existing user configurations which refer to 21.03 will continue to work.
1 parent 6964689 commit cfed3b8

File tree

10 files changed

+26
-16
lines changed

10 files changed

+26
-16
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.03
1+
21.05

nixos/doc/manual/release-notes/release-notes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
This section lists the release notes for each stable version of NixOS and
99
current unstable revision.
1010
</para>
11-
<xi:include href="rl-2103.xml" />
11+
<xi:include href="rl-2105.xml" />
1212
<xi:include href="rl-2009.xml" />
1313
<xi:include href="rl-2003.xml" />
1414
<xi:include href="rl-1909.xml" />

nixos/doc/manual/release-notes/rl-2009.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<title>Release 20.09 (“Nightingale”, 2020.10/27)</title>
77

88
<para>
9-
Support is planned until the end of April 2021, handing over to 21.03.
9+
Support is planned until the end of June 2021, handing over to 21.05.
10+
(Plans <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md#core-changes">
11+
have shifted</link> by two months since release of 20.09.)
1012
</para>
1113
<section xmlns="http://docbook.org/ns/docbook"
1214
xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -1538,7 +1540,7 @@ services.transmission.settings.rpc-bind-address = "0.0.0.0";
15381540
<listitem>
15391541
<para>
15401542
Specifying <link linkend="opt-services.dovecot2.mailboxes">mailboxes</link> in the <package>dovecot2</package> module
1541-
as a list is deprecated and will break eval in 21.03. Instead, an attribute-set should be specified where the <literal>name</literal>
1543+
as a list is deprecated and will break eval in 21.05. Instead, an attribute-set should be specified where the <literal>name</literal>
15421544
should be the key of the attribute.
15431545
</para>
15441546
<para>

nixos/doc/manual/release-notes/rl-2103.xml renamed to nixos/doc/manual/release-notes/rl-2105.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
xmlns:xlink="http://www.w3.org/1999/xlink"
33
xmlns:xi="http://www.w3.org/2001/XInclude"
44
version="5.0"
5-
xml:id="sec-release-21.03">
6-
<title>Release 21.03 (“Okapi”, 2021.03/??)</title>
5+
xml:id="sec-release-21.05">
6+
<title>Release 21.05 (“Okapi”, 2021.05/??)</title>
77

88
<section xmlns="http://docbook.org/ns/docbook"
99
xmlns:xlink="http://www.w3.org/1999/xlink"
1010
xmlns:xi="http://www.w3.org/2001/XInclude"
1111
version="5.0"
12-
xml:id="sec-release-21.03-highlights">
12+
xml:id="sec-release-21.05-highlights">
1313
<title>Highlights</title>
1414

1515
<para>
@@ -20,7 +20,7 @@
2020
<itemizedlist>
2121
<listitem>
2222
<para>
23-
Support is planned until the end of October 2021, handing over to 21.09.
23+
Support is planned until the end of December 2021, handing over to 21.11.
2424
</para>
2525
</listitem>
2626
<listitem>
@@ -46,7 +46,7 @@
4646
xmlns:xlink="http://www.w3.org/1999/xlink"
4747
xmlns:xi="http://www.w3.org/2001/XInclude"
4848
version="5.0"
49-
xml:id="sec-release-21.03-new-services">
49+
xml:id="sec-release-21.05-new-services">
5050
<title>New Services</title>
5151

5252
<para>
@@ -82,7 +82,7 @@
8282
xmlns:xlink="http://www.w3.org/1999/xlink"
8383
xmlns:xi="http://www.w3.org/2001/XInclude"
8484
version="5.0"
85-
xml:id="sec-release-21.03-incompatibilities">
85+
xml:id="sec-release-21.05-incompatibilities">
8686
<title>Backward Incompatibilities</title>
8787

8888
<para>
@@ -501,7 +501,7 @@ self: super:
501501
xmlns:xlink="http://www.w3.org/1999/xlink"
502502
xmlns:xi="http://www.w3.org/2001/XInclude"
503503
version="5.0"
504-
xml:id="sec-release-21.03-notable-changes">
504+
xml:id="sec-release-21.05-notable-changes">
505505
<title>Other Notable Changes</title>
506506

507507
<itemizedlist>

nixos/modules/services/mail/dovecot.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ in
463463
environment.systemPackages = [ dovecotPkg ];
464464

465465
warnings = mkIf (any isList options.services.dovecot2.mailboxes.definitions) [
466-
"Declaring `services.dovecot2.mailboxes' as a list is deprecated and will break eval in 21.03! See the release notes for more info for migration."
466+
"Declaring `services.dovecot2.mailboxes' as a list is deprecated and will break eval in 21.05! See the release notes for more info for migration."
467467
];
468468

469469
assertions = [

nixos/modules/services/networking/kresd.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ in {
140140

141141
# Try cleaning up the previously default location of cache file.
142142
# Note that /var/cache/* should always be safe to remove.
143-
# TODO: remove later, probably between 20.09 and 21.03
143+
# TODO: remove later, probably between 20.09 and 21.05
144144
systemd.tmpfiles.rules = [ "R /var/cache/kresd" ];
145145
};
146146
}

nixos/modules/services/web-apps/hedgedoc.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ with lib;
55
let
66
cfg = config.services.hedgedoc;
77

8+
# 21.03 will not be an official release - it was instead 21.05. This
9+
# versionAtLeast statement remains set to 21.03 for backwards compatibility.
10+
# See https://github.com/NixOS/nixpkgs/pull/108899 and
11+
# https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
812
name = if versionAtLeast config.system.stateVersion "21.03"
913
then "hedgedoc"
1014
else "codimd";

nixos/modules/services/web-apps/nextcloud.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ in {
368368
'')
369369
++ (optional (versionOlder cfg.package.version "18") (upgradeWarning 17 "20.03"))
370370
++ (optional (versionOlder cfg.package.version "19") (upgradeWarning 18 "20.09"))
371-
++ (optional (versionOlder cfg.package.version "20") (upgradeWarning 19 "21.03"));
371+
++ (optional (versionOlder cfg.package.version "20") (upgradeWarning 19 "21.05"));
372372

373373
services.nextcloud.package = with pkgs;
374374
mkDefault (
@@ -380,6 +380,10 @@ in {
380380
''
381381
else if versionOlder stateVersion "20.03" then nextcloud17
382382
else if versionOlder stateVersion "20.09" then nextcloud18
383+
# 21.03 will not be an official release - it was instead 21.05.
384+
# This versionOlder statement remains set to 21.03 for backwards compatibility.
385+
# See https://github.com/NixOS/nixpkgs/pull/108899 and
386+
# https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
383387
else if versionOlder stateVersion "21.03" then nextcloud19
384388
else nextcloud20
385389
);

pkgs/applications/editors/emacs-modes/melpa-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ let
610610
};
611611

612612
# Deprecated legacy aliases for backwards compat
613-
aliases = lib.listToAttrs (lib.attrValues (lib.mapAttrs (n: v: { name = v; value = builtins.trace "Melpa attribute '${v}' is a legacy alias that will be removed in 21.03, use '${n}' instead" melpaPackages.${n}; }) (lib.filterAttrs (n: v: lib.hasAttr n melpaPackages) {
613+
aliases = lib.listToAttrs (lib.attrValues (lib.mapAttrs (n: v: { name = v; value = builtins.trace "Melpa attribute '${v}' is a legacy alias that will be removed in 21.05, use '${n}' instead" melpaPackages.${n}; }) (lib.filterAttrs (n: v: lib.hasAttr n melpaPackages) {
614614
"auto-complete-clang-async" = "emacsClangCompleteAsync";
615615
"vterm" = "emacs-libvterm";
616616
"0xc" = "_0xc";

pkgs/top-level/aliases.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ mapAliases ({
846846

847847
todolist = throw "todolist is now ultralist."; # added 2020-12-27
848848

849-
/* Cleanup before 21.03 */
849+
/* Cleanup before 21.05 */
850850
riot-desktop = throw "riot-desktop is now element-desktop!";
851851
riot-web = throw "riot-web is now element-web";
852852

0 commit comments

Comments
 (0)