2018-03-05 19:36:11 +01:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-18.09">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Release 18.09 (“Jellyfish”, 2018/09/??)</title>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
2018-03-05 19:36:11 +01:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-18.09-highlights">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Highlights</title>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<para>
|
|
|
|
In addition to numerous new and upgraded packages, this release has the
|
|
|
|
following highlights:
|
|
|
|
</para>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2018-03-05 19:36:11 +01:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
User channels are now in the default <literal>NIX_PATH</literal>, allowing
|
|
|
|
users to use their personal <command>nix-channel</command> defined
|
|
|
|
channels in <command>nix-build</command> and <command>nix-shell</command>
|
|
|
|
commands, as well as in imports like <code>import
|
|
|
|
<mychannel></code>.
|
2018-03-05 19:36:11 +01:00
|
|
|
</para>
|
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
For example
|
2018-03-05 19:36:11 +01:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<programlisting>
|
2018-04-02 21:02:43 +02:00
|
|
|
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgsunstable
|
|
|
|
$ nix-channel --update
|
|
|
|
$ nix-build '<nixpkgsunstable>' -A gitFull
|
|
|
|
$ nix run -f '<nixpkgsunstable>' gitFull
|
|
|
|
$ nix-instantiate -E '(import <nixpkgsunstable> {}).gitFull'
|
|
|
|
</programlisting>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
2018-03-05 19:36:11 +01:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-18.09-new-services">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>New Services</title>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<para>
|
|
|
|
The following new services were added since the last release:
|
|
|
|
</para>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2018-06-01 03:03:51 +02:00
|
|
|
<para>
|
|
|
|
When enabled the <literal>iproute2</literal> will copy the files expected
|
|
|
|
by ip route (e.g., <filename>rt_tables</filename>) in
|
|
|
|
<filename>/run/iproute2</filename>. This allows to write aliases for
|
|
|
|
routing tables for instance.
|
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
2018-03-05 19:36:11 +01:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-18.09-incompatibilities">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Backward Incompatibilities</title>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<para>
|
|
|
|
When upgrading from a previous release, please be aware of the following
|
|
|
|
incompatible changes:
|
|
|
|
</para>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.strict</literal> is removed. Use
|
|
|
|
<literal>builtins.seq</literal> instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-03-05 19:36:11 +01:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
The <literal>clementine</literal> package points now to the free
|
|
|
|
derivation. <literal>clementineFree</literal> is removed now and
|
|
|
|
<literal>clementineUnfree</literal> points to the package which is bundled
|
|
|
|
with the unfree <literal>libspotify</literal> package.
|
2018-03-05 19:36:11 +01:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-30 01:30:42 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
The <literal>netcat</literal> package is now taken directly from OpenBSD's
|
|
|
|
<literal>libressl</literal>, instead of relying on Debian's fork. The new
|
|
|
|
version should be very close to the old version, but there are some minor
|
|
|
|
differences. Importantly, flags like -b, -q, -C, and -Z are no longer
|
|
|
|
accepted by the nc command.
|
2018-04-30 01:30:42 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
2018-05-02 13:12:57 +02:00
|
|
|
<listitem>
|
2018-03-26 13:54:01 +02:00
|
|
|
<para>
|
2018-06-01 03:03:51 +02:00
|
|
|
The <varname>services.docker-registry.extraConfig</varname> object doesn't
|
|
|
|
contain environment variables anymore. Instead it needs to provide an
|
|
|
|
object structure that can be mapped onto the YAML configuration defined in
|
|
|
|
<link xlink:href="https://github.com/docker/distribution/blob/v2.6.2/docs/configuration.md">the
|
|
|
|
<varname>docker/distribution</varname> docs</link>.
|
2018-03-26 13:54:01 +02:00
|
|
|
</para>
|
2018-05-02 13:12:57 +02:00
|
|
|
</listitem>
|
2018-05-09 19:21:38 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2018-06-01 03:03:51 +02:00
|
|
|
<literal>gnucash</literal> has changed from version 2.4 to 3.x. If you've
|
|
|
|
been using <literal>gnucash</literal> (version 2.4) instead of
|
|
|
|
<literal>gnucash26</literal> (version 2.6) you must open your Gnucash data
|
|
|
|
file(s) with <literal>gnucash26</literal> and then save them to upgrade
|
|
|
|
the file format. Then you may use your data file(s) with Gnucash 3.x. See
|
|
|
|
the upgrade
|
|
|
|
<link xlink:href="https://wiki.gnucash.org/wiki/FAQ#Using_Different_Versions.2C_Up_And_Downgrade">documentation</link>.
|
|
|
|
Gnucash 2.4 is still available under the attribute
|
|
|
|
<literal>gnucash24</literal>.
|
2018-05-09 19:21:38 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-03-28 01:57:52 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The GRUB specific option <option>boot.loader.grub.extraInitrd</option>
|
|
|
|
has been replaced with the generic option
|
|
|
|
<option>boot.initrd.secrets</option>. This option creates a secondary
|
|
|
|
initrd from the specified files, rather than using a manually created
|
|
|
|
initrd file.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-02 01:57:09 +02:00
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
2018-03-05 19:36:11 +01:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-18.09-notable-changes">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Other Notable Changes</title>
|
2018-03-05 19:36:11 +01:00
|
|
|
|
2018-05-02 01:57:09 +02:00
|
|
|
<itemizedlist>
|
2018-04-09 14:52:41 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2018-06-01 03:03:51 +02:00
|
|
|
<literal>dockerTools.pullImage</literal> relies on image digest instead of
|
|
|
|
image tag to download the image. The <literal>sha256</literal> of a pulled
|
|
|
|
image has to be updated.
|
2018-04-09 14:52:41 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-02 01:57:09 +02:00
|
|
|
<listitem>
|
2018-03-05 19:36:11 +01:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.attrNamesToStr</literal> has been deprecated. Use more
|
|
|
|
specific concatenation (<literal>lib.concat(Map)StringsSep</literal>)
|
|
|
|
instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.addErrorContextToAttrs</literal> has been deprecated. Use
|
|
|
|
<literal>builtins.addErrorContext</literal> directly.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.showVal</literal> has been deprecated. Use
|
|
|
|
<literal>lib.traceSeqN</literal> instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.traceXMLVal</literal> has been deprecated. Use
|
|
|
|
<literal>lib.traceValFn builtins.toXml</literal> instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.traceXMLValMarked</literal> has been deprecated. Use
|
|
|
|
<literal>lib.traceValFn (x: str + builtins.toXML x)</literal> instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.traceValIfNot</literal> has been deprecated. Use
|
|
|
|
<literal>if/then/else</literal> and <literal>lib.traceValSeq</literal>
|
|
|
|
instead.
|
2018-04-03 14:04:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2018-04-03 14:04:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
<literal>lib.traceCallXml</literal> has been deprecated. Please complain
|
|
|
|
if you use the function regularly.
|
2018-03-05 19:36:11 +01:00
|
|
|
</para>
|
2018-04-26 10:31:05 +02:00
|
|
|
<para>
|
2018-05-02 01:57:09 +02:00
|
|
|
The attribute <literal>lib.nixpkgsVersion</literal> has been deprecated in
|
|
|
|
favor of <literal>lib.version</literal>. Please refer to the discussion in
|
|
|
|
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/39416#discussion_r183845745">NixOS/nixpkgs#39416</link>
|
|
|
|
for further reference.
|
2018-04-26 10:31:05 +02:00
|
|
|
</para>
|
2018-05-02 01:57:09 +02:00
|
|
|
</listitem>
|
2018-05-08 02:09:46 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The module for <option>security.dhparams</option> has two new options now:
|
2018-03-05 19:36:11 +01:00
|
|
|
</para>
|
2018-05-07 05:02:41 +02:00
|
|
|
<variablelist>
|
2018-05-08 02:09:46 +02:00
|
|
|
<varlistentry>
|
2018-06-01 03:03:51 +02:00
|
|
|
<term>
|
|
|
|
<option>security.dhparams.stateless</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Puts the generated Diffie-Hellman parameters into the Nix store instead
|
|
|
|
of managing them in a stateful manner in
|
|
|
|
<filename class="directory">/var/lib/dhparams</filename>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-08 02:09:46 +02:00
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2018-06-01 03:03:51 +02:00
|
|
|
<term>
|
|
|
|
<option>security.dhparams.defaultBitSize</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The default bit size to use for the generated Diffie-Hellman
|
|
|
|
parameters.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-08 02:09:46 +02:00
|
|
|
</varlistentry>
|
2018-05-07 05:02:41 +02:00
|
|
|
</variablelist>
|
2018-06-01 03:03:51 +02:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
The path to the actual generated parameter files should now be queried
|
|
|
|
using
|
|
|
|
<literal>config.security.dhparams.params.<replaceable>name</replaceable>.path</literal>
|
|
|
|
because it might be either in the Nix store or in a directory configured
|
|
|
|
by <option>security.dhparams.path</option>.
|
|
|
|
</para>
|
|
|
|
</note>
|
2018-05-07 05:02:41 +02:00
|
|
|
<note>
|
2018-05-08 02:09:46 +02:00
|
|
|
<title>For developers:</title>
|
|
|
|
<para>
|
|
|
|
Module implementers should not set a specific bit size in order to let
|
|
|
|
users configure it by themselves if they want to have a different bit
|
|
|
|
size than the default (2048).
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
An example usage of this would be:
|
2018-05-07 05:02:41 +02:00
|
|
|
<programlisting>
|
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
security.dhparams.params.myservice = {};
|
|
|
|
environment.etc."myservice.conf".text = ''
|
|
|
|
dhparams = ${config.security.dhparams.params.myservice.path}
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
</programlisting>
|
2018-05-08 02:09:46 +02:00
|
|
|
</para>
|
2018-05-07 05:02:41 +02:00
|
|
|
</note>
|
2018-05-08 02:09:46 +02:00
|
|
|
</listitem>
|
2018-05-03 14:05:43 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2018-06-01 03:03:51 +02:00
|
|
|
<literal>networking.networkmanager.useDnsmasq</literal> has been
|
|
|
|
deprecated. Use <literal>networking.networkmanager.dns</literal> instead.
|
2018-05-03 14:05:43 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-26 11:19:12 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2018-06-01 03:03:51 +02:00
|
|
|
The option
|
|
|
|
<varname>services.kubernetes.apiserver.admissionControl</varname> was
|
|
|
|
renamed to
|
|
|
|
<varname>services.kubernetes.apiserver.enableAdmissionPlugins</varname>.
|
2018-05-26 11:19:12 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Recommented way to access the Kubernetes Dashboard is with HTTPS (TLS)
|
2018-06-01 03:03:51 +02:00
|
|
|
Therefore; public service port for the dashboard has changed to 443
|
|
|
|
(container port 8443) and scheme to https.
|
2018-05-26 11:19:12 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2018-05-02 01:57:09 +02:00
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2018-03-05 19:36:11 +01:00
|
|
|
</section>
|