git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #59349 from mogorman/manual-upgrading

nixos/manual: update 17.03 -> 19.03 in upgrading section

commit628ba24e77b2c6f82f4c2d9e8a31d93fa06f2743 authorGraham Christensen <graham@grahamc.com> dateFri 12 Apr 2019, 12:19 (8 years ago) parente14a706da035d3
2 files changed+16−10
nixos/doc/manual/development/releases.xml+6 nixos/doc/manual/installation/upgrading.xml+10−10
nixos/doc/manual/development/releases.xml+6
@@ -175,6 +175,12 @@
175175 <literal>git tag -s -a -m &quot;Release 15.09&quot; 15.09</literal>
176176 </para>
177177 </listitem>
178+ <listitem>
179+ <para>
180+ Update "Chapter 4. Upgrading NixOS" section of the manual to match
181+ new stable release version.
182+ </para>
183+ </listitem>
178184 <listitem>
179185 <para>
180186 Update http://nixos.org/nixos/download.html and
nixos/doc/manual/installation/upgrading.xml+10−10
@@ -14,11 +14,11 @@
1414 <para>
1515 <emphasis>Stable channels</emphasis>, such as
1616 <literal
17− xlink:href="https://nixos.org/channels/nixos-17.03">nixos-17.03</literal>.
17+ xlink:href="https://nixos.org/channels/nixos-19.03">nixos-19.03</literal>.
1818 These only get conservative bug fixes and package upgrades. For instance,
1919 a channel update may cause the Linux kernel on your system to be upgraded
20− from 4.9.16 to 4.9.17 (a minor bug fix), but not from
21− 4.9.<replaceable>x</replaceable> to 4.11.<replaceable>x</replaceable> (a
20+ from 4.19.34 to 4.19.38 (a minor bug fix), but not from
21+ 4.19.<replaceable>x</replaceable> to 4.20.<replaceable>x</replaceable> (a
2222 major change that has the potential to break things). Stable channels are
2323 generally maintained until the next stable branch is created.
2424 </para>
@@ -38,7 +38,7 @@
3838 <para>
3939 <emphasis>Small channels</emphasis>, such as
4040 <literal
41− xlink:href="https://nixos.org/channels/nixos-17.03-small">nixos-17.03-small</literal>
41+ xlink:href="https://nixos.org/channels/nixos-19.03-small">nixos-19.03-small</literal>
4242 or
4343 <literal
4444 xlink:href="https://nixos.org/channels/nixos-unstable-small">nixos-unstable-small</literal>.
@@ -63,8 +63,8 @@
6363 <para>
6464 When you first install NixOS, you’re automatically subscribed to the NixOS
6565 channel that corresponds to your installation source. For instance, if you
66− installed from a 17.03 ISO, you will be subscribed to the
67− <literal>nixos-17.03</literal> channel. To see which NixOS channel you’re
66+ installed from a 19.03 ISO, you will be subscribed to the
67+ <literal>nixos-19.03</literal> channel. To see which NixOS channel you’re
6868 subscribed to, run the following as root:
6969<screen>
7070# nix-channel --list | grep nixos
@@ -75,13 +75,13 @@ nixos https://nixos.org/channels/nixos-unstable
7575# nix-channel --add https://nixos.org/channels/<replaceable>channel-name</replaceable> nixos
7676</screen>
7777 (Be sure to include the <literal>nixos</literal> parameter at the end.) For
78− instance, to use the NixOS 17.03 stable channel:
78+ instance, to use the NixOS 19.03 stable channel:
7979<screen>
80−# nix-channel --add https://nixos.org/channels/nixos-17.03 nixos
80+# nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
8181</screen>
8282 If you have a server, you may want to use the “small” channel instead:
8383<screen>
84−# nix-channel --add https://nixos.org/channels/nixos-17.03-small nixos
84+# nix-channel --add https://nixos.org/channels/nixos-19.03-small nixos
8585</screen>
8686 And if you want to live on the bleeding edge:
8787<screen>
@@ -127,7 +127,7 @@ nixos https://nixos.org/channels/nixos-unstable
127127 current channel. (To see when the service runs, see <command>systemctl
128128 list-timers</command>.) You can also specify a channel explicitly, e.g.
129129<programlisting>
130−<xref linkend="opt-system.autoUpgrade.channel"/> = https://nixos.org/channels/nixos-17.03;
130+<xref linkend="opt-system.autoUpgrade.channel"/> = https://nixos.org/channels/nixos-19.03;
131131</programlisting>
132132 </para>
133133 </section>