git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #63911 from lopsided98/cargo-vendor-fix-changelog

nixos/release-notes: fix bad merge of cargo-vendor entry and formatting

commit51520e79a83fc1da9d6ff2e9dcfca8d10505e1b9 authorMaximilian Bosch <maximilian@mbosch.me> dateTue 9 Jul 2019, 10:45 (7 years ago) parent6cc7e33d82840d
1 file changed+91−87
nixos/doc/manual/release-notes/rl-1909.xml+91−87
nixos/doc/manual/release-notes/rl-1909.xml+91−87
@@ -81,45 +81,45 @@
8181 </listitem>
8282 <listitem>
8383 <para>
84− The options <option>services.prometheus.alertmanager.user</option> and
85− <option>services.prometheus.alertmanager.group</option> have been removed
86− because the alertmanager service is now using systemd's <link
87− xlink:href="http://0pointer.net/blog/dynamic-users-with-systemd.html">
88− DynamicUser mechanism</link> which obviates these options.
84+ The options <option>services.prometheus.alertmanager.user</option> and
85+ <option>services.prometheus.alertmanager.group</option> have been removed
86+ because the alertmanager service is now using systemd's <link
87+ xlink:href="http://0pointer.net/blog/dynamic-users-with-systemd.html">
88+ DynamicUser mechanism</link> which obviates these options.
8989 </para>
9090 </listitem>
9191 <listitem>
9292 <para>
93− The NetworkManager systemd unit was renamed back from network-manager.service to
94− NetworkManager.service for better compatibility with other applications expecting this name.
95− The same applies to ModemManager where modem-manager.service is now called ModemManager.service again.
93+ The NetworkManager systemd unit was renamed back from network-manager.service to
94+ NetworkManager.service for better compatibility with other applications expecting this name.
95+ The same applies to ModemManager where modem-manager.service is now called ModemManager.service again.
9696 </para>
9797 </listitem>
9898 <listitem>
9999 <para>
100− The <option>services.nzbget.configFile</option> and <option>services.nzbget.openFirewall</option>
101− options were removed as they are managed internally by the nzbget. The
102− <option>services.nzbget.dataDir</option> option hadn't actually been used by
103− the module for some time and so was removed as cleanup.
100+ The <option>services.nzbget.configFile</option> and <option>services.nzbget.openFirewall</option>
101+ options were removed as they are managed internally by the nzbget. The
102+ <option>services.nzbget.dataDir</option> option hadn't actually been used by
103+ the module for some time and so was removed as cleanup.
104104 </para>
105105 </listitem>
106106 <listitem>
107107 <para>
108− The <option>services.mysql.pidDir</option> option was removed, as it was only used by the wordpress
109− apache-httpd service to wait for mysql to have started up.
110− This can be accomplished by either describing a dependency on mysql.service (preferred)
111− or waiting for the (hardcoded) <filename>/run/mysqld/mysql.sock</filename> file to appear.
108+ The <option>services.mysql.pidDir</option> option was removed, as it was only used by the wordpress
109+ apache-httpd service to wait for mysql to have started up.
110+ This can be accomplished by either describing a dependency on mysql.service (preferred)
111+ or waiting for the (hardcoded) <filename>/run/mysqld/mysql.sock</filename> file to appear.
112112 </para>
113113 </listitem>
114114 <listitem>
115115 <para>
116− The <option>services.emby.enable</option> module has been removed, see
117− <option>services.jellyfin.enable</option> instead for a free software fork of Emby.
116+ The <option>services.emby.enable</option> module has been removed, see
117+ <option>services.jellyfin.enable</option> instead for a free software fork of Emby.
118118
119− See the Jellyfin documentation:
120− <link xlink:href="https://jellyfin.readthedocs.io/en/latest/administrator-docs/migrate-from-emby/">
121− Migrating from Emby to Jellyfin
122− </link>
119+ See the Jellyfin documentation:
120+ <link xlink:href="https://jellyfin.readthedocs.io/en/latest/administrator-docs/migrate-from-emby/">
121+ Migrating from Emby to Jellyfin
122+ </link>
123123 </para>
124124 </listitem>
125125 <listitem>
@@ -136,50 +136,50 @@
136136 </listitem>
137137 <listitem>
138138 <para>
139− Several of the apache subservices have been replaced with full NixOS
140− modules including LimeSurvey and WordPress.
141− These modules can be enabled using the <option>services.limesurvey.enable</option>
142− and <option>services.wordpress.enable</option> options.
139+ Several of the apache subservices have been replaced with full NixOS
140+ modules including LimeSurvey and WordPress.
141+ These modules can be enabled using the <option>services.limesurvey.enable</option>
142+ and <option>services.wordpress.enable</option> options.
143143 </para>
144144 </listitem>
145145 <listitem>
146− <para>
147− The option <option>systemd.network.networks.&lt;name&gt;.routes.*.routeConfig.GatewayOnlink</option>
148− was renamed to <option>systemd.network.networks.&lt;name&gt;.routes.*.routeConfig.GatewayOnLink</option>
149− (capital <literal>L</literal>). This follows
150− <link xlink:href="https://github.com/systemd/systemd/commit/9cb8c5593443d24c19e40bfd4fc06d672f8c554c">
151− upstreams renaming
152− </link> of the setting.
153− </para>
146+ <para>
147+ The option <option>systemd.network.networks.&lt;name&gt;.routes.*.routeConfig.GatewayOnlink</option>
148+ was renamed to <option>systemd.network.networks.&lt;name&gt;.routes.*.routeConfig.GatewayOnLink</option>
149+ (capital <literal>L</literal>). This follows
150+ <link xlink:href="https://github.com/systemd/systemd/commit/9cb8c5593443d24c19e40bfd4fc06d672f8c554c">
151+ upstreams renaming
152+ </link> of the setting.
153+ </para>
154154 </listitem>
155155 <listitem>
156156 <para>
157− As of this release the NixOps feature <literal>autoLuks</literal> is deprecated. It no longer works
158− with our systemd version without manual intervention.
157+ As of this release the NixOps feature <literal>autoLuks</literal> is deprecated. It no longer works
158+ with our systemd version without manual intervention.
159159 </para>
160160 <para>
161− Whenever the usage of the module is detected the evaluation will fail with a message
162− explaining why and how to deal with the situation.
161+ Whenever the usage of the module is detected the evaluation will fail with a message
162+ explaining why and how to deal with the situation.
163163 </para>
164164 <para>
165− A new knob named <literal>nixops.enableDeprecatedAutoLuks</literal>
166− has been introduced to disable the eval failure and to acknowledge the notice was received and read.
167− If you plan on using the feature please note that it might break with subsequent updates.
165+ A new knob named <literal>nixops.enableDeprecatedAutoLuks</literal>
166+ has been introduced to disable the eval failure and to acknowledge the notice was received and read.
167+ If you plan on using the feature please note that it might break with subsequent updates.
168168 </para>
169169 <para>
170− Make sure you set the <literal>_netdev</literal> option for each of the file systems referring to block
171− devices provided by the autoLuks module. Not doing this might render the system in a
172− state where it doesn't boot anymore.
170+ Make sure you set the <literal>_netdev</literal> option for each of the file systems referring to block
171+ devices provided by the autoLuks module. Not doing this might render the system in a
172+ state where it doesn't boot anymore.
173173 </para>
174174 <para>
175− If you are actively using the <literal>autoLuks</literal> module please let us know in
176− <link xlink:href="https://github.com/NixOS/nixpkgs/issues/62211">issue #62211</link>.
175+ If you are actively using the <literal>autoLuks</literal> module please let us know in
176+ <link xlink:href="https://github.com/NixOS/nixpkgs/issues/62211">issue #62211</link>.
177177 </para>
178− </listitem>
179− <listitem>
178+ </listitem>
179+ <listitem>
180180 <para>
181− The setopt declarations will be evaluated at the end of <literal>/etc/zshrc</literal>, so any code in <xref linkend="opt-programs.zsh.interactiveShellInit" />,
182− <xref linkend="opt-programs.zsh.loginShellInit" /> and <xref linkend="opt-programs.zsh.promptInit" /> may break if it relies on those options being set.
181+ The setopt declarations will be evaluated at the end of <literal>/etc/zshrc</literal>, so any code in <xref linkend="opt-programs.zsh.interactiveShellInit" />,
182+ <xref linkend="opt-programs.zsh.loginShellInit" /> and <xref linkend="opt-programs.zsh.promptInit" /> may break if it relies on those options being set.
183183 </para>
184184 </listitem>
185185 </itemizedlist>
@@ -236,36 +236,36 @@
236236 </listitem>
237237 <listitem>
238238 <para>
239− The <literal>hunspellDicts.fr-any</literal> dictionary now ships with <literal>fr_FR.{aff,dic}</literal>
240− which is linked to <literal>fr-toutesvariantes.{aff,dic}</literal>.
239+ The <literal>hunspellDicts.fr-any</literal> dictionary now ships with <literal>fr_FR.{aff,dic}</literal>
240+ which is linked to <literal>fr-toutesvariantes.{aff,dic}</literal>.
241241 </para>
242− </listitem>
243− <listitem>
242+ </listitem>
243+ <listitem>
244244 <para>
245− The <literal>mysql</literal> service now runs as <literal>mysql</literal>
246− user. Previously, systemd did execute it as root, and mysql dropped privileges
247− itself.
248− This includes <literal>ExecStartPre=</literal> and
249− <literal>ExecStartPost=</literal> phases.
250− To accomplish that, runtime and data directory setup was delegated to
251− RuntimeDirectory and tmpfiles.
245+ The <literal>mysql</literal> service now runs as <literal>mysql</literal>
246+ user. Previously, systemd did execute it as root, and mysql dropped privileges
247+ itself.
248+ This includes <literal>ExecStartPre=</literal> and
249+ <literal>ExecStartPost=</literal> phases.
250+ To accomplish that, runtime and data directory setup was delegated to
251+ RuntimeDirectory and tmpfiles.
252252 </para>
253253 </listitem>
254254 <listitem>
255255 <para>
256− With the upgrade to systemd version 242 the <literal>systemd-timesyncd</literal>
257− service is no longer using <literal>DynamicUser=yes</literal>. In order for the
258− upgrade to work we rely on an activation script to move the state from the old
259− to the new directory. The older directory (prior <literal>19.09</literal>) was
260− <literal>/var/lib/private/systemd/timesync</literal>.
256+ With the upgrade to systemd version 242 the <literal>systemd-timesyncd</literal>
257+ service is no longer using <literal>DynamicUser=yes</literal>. In order for the
258+ upgrade to work we rely on an activation script to move the state from the old
259+ to the new directory. The older directory (prior <literal>19.09</literal>) was
260+ <literal>/var/lib/private/systemd/timesync</literal>.
261261 </para>
262262 <para>
263− As long as the <literal>system.config.stateVersion</literal> is below
264− <literal>19.09</literal> the state folder will migrated to its proper location
265− (<literal>/var/lib/systemd/timesync</literal>), if required.
263+ As long as the <literal>system.config.stateVersion</literal> is below
264+ <literal>19.09</literal> the state folder will migrated to its proper location
265+ (<literal>/var/lib/systemd/timesync</literal>), if required.
266266 </para>
267− </listitem>
268− <listitem>
267+ </listitem>
268+ <listitem>
269269 <para>
270270 The package <literal>avahi</literal> is now built to look up service
271271 definitions from <literal>/etc/avahi/services</literal> instead of its
@@ -275,32 +275,36 @@
275275 in the aforementioned directory. See <citerefentry>
276276 <refentrytitle>avahi.service</refentrytitle><manvolnum>5</manvolnum>
277277 </citerefentry> for more information on custom service definitions.
278− Since version 0.1.19, <literal>cargo-vendor</literal> honors package
279− includes that are specified in the <filename>Cargo.toml</filename>
280− file of Rust crates. <literal>rustPlatform.buildRustPackage</literal> uses
281− <literal>cargo-vendor</literal> to collect and build dependent crates.
282− Since this change in <literal>cargo-vendor</literal> changes the set of
283− vendored files for most Rust packages, the hash that use used to verify
284− the dependencies, <literal>cargoSha256</literal>, also changes.
278+ </para>
279+ </listitem>
280+ <listitem>
281+ <para>
282+ Since version 0.1.19, <literal>cargo-vendor</literal> honors package
283+ includes that are specified in the <filename>Cargo.toml</filename>
284+ file of Rust crates. <literal>rustPlatform.buildRustPackage</literal> uses
285+ <literal>cargo-vendor</literal> to collect and build dependent crates.
286+ Since this change in <literal>cargo-vendor</literal> changes the set of
287+ vendored files for most Rust packages, the hash that use used to verify
288+ the dependencies, <literal>cargoSha256</literal>, also changes.
285289 </para>
286290 <para>
287− The <literal>cargoSha256</literal> hashes of all in-tree derivations that
288− use <literal>buildRustPackage</literal> have been updated to reflect this
289− change. However, third-party derivations that use
290− <literal>buildRustPackage</literal> may have to be updated as well.
291+ The <literal>cargoSha256</literal> hashes of all in-tree derivations that
292+ use <literal>buildRustPackage</literal> have been updated to reflect this
293+ change. However, third-party derivations that use
294+ <literal>buildRustPackage</literal> may have to be updated as well.
291295 </para>
292296 </listitem>
293297 <listitem>
294298 <para>
295− The <literal>consul</literal> package was upgraded past version <literal>1.5</literal>,
296− so its deprecated legacy UI is no longer available.
299+ The <literal>consul</literal> package was upgraded past version <literal>1.5</literal>,
300+ so its deprecated legacy UI is no longer available.
297301 </para>
298302 </listitem>
299303 <listitem>
300304 <para>
301− The default resample-method for PulseAudio has been changed from the upstream default <literal>speex-float-1</literal>
302− to <literal>speex-float-5</literal>. Be aware that low-powered ARM-based and MIPS-based boards will struggle with this
303− so you'll need to set <option>hardware.pulseaudio.daemon.config.resample-method</option> back to <literal>speex-float-1</literal>.
305+ The default resample-method for PulseAudio has been changed from the upstream default <literal>speex-float-1</literal>
306+ to <literal>speex-float-5</literal>. Be aware that low-powered ARM-based and MIPS-based boards will struggle with this
307+ so you'll need to set <option>hardware.pulseaudio.daemon.config.resample-method</option> back to <literal>speex-float-1</literal>.
304308 </para>
305309 </listitem>
306310 <listitem>