2016-09-02 07:40:48 +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-17.03">
|
|
|
|
|
|
|
|
<title>Release 17.03 (“XXX”, 2017/03/??)</title>
|
|
|
|
|
|
|
|
<para>In addition to numerous new and upgraded packages, this release
|
|
|
|
has the following highlights: </para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2017-01-14 14:15:55 +00:00
|
|
|
<para>Nixpkgs is now extensible through overlays. See the <link
|
|
|
|
xlink:href="https://nixos.org/nixpkgs/manual/#sec-overlays-install">Nixpkgs
|
|
|
|
manual</link> for more information.</para>
|
2016-09-02 07:40:48 +01:00
|
|
|
</listitem>
|
2017-01-29 04:48:03 +00:00
|
|
|
|
|
|
|
<listitem>
|
2017-02-14 13:38:45 +00:00
|
|
|
<para>The setuid wrapper functionality now supports setting
|
|
|
|
capabilities.</para>
|
2017-01-29 04:48:03 +00:00
|
|
|
</listitem>
|
2017-02-13 23:16:28 +00:00
|
|
|
|
2017-02-12 12:12:10 +00:00
|
|
|
<listitem>
|
|
|
|
<para>X.org server uses branch 1.19. Due to ABI incompatibilities,
|
|
|
|
<literal>ati_unfree</literal> keeps forcing 1.17
|
|
|
|
and <literal>amdgpu-pro</literal> starts forcing 1.18.</para>
|
|
|
|
</listitem>
|
2017-02-13 21:43:40 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>PHP now defaults to PHP 7.1</para>
|
|
|
|
</listitem>
|
2016-09-02 07:40:48 +01:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>The following new services were added since the last release:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
|
|
<para>When upgrading from a previous release, please be aware of the
|
|
|
|
following incompatible changes:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2017-01-22 19:36:16 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Cross compilation has been rewritten. See the nixpkgs manual for
|
|
|
|
details. The most obvious breaking change is that derivations absent a
|
|
|
|
<literal>.nativeDrv</literal> or <literal>.crossDrv</literal> are now
|
|
|
|
cross by default, not native.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-12-19 16:10:47 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>stdenv.overrides</literal> is now expected to take <literal>self</literal>
|
|
|
|
and <literal>super</literal> arguments. See <literal>lib.trivial.extends</literal>
|
|
|
|
for what those parameters represent.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2017-02-04 11:48:11 +00:00
|
|
|
|
2017-01-27 08:58:43 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>ansible</literal> now defaults to ansible version 2 as version 1
|
|
|
|
has been removed due to a serious <link
|
|
|
|
xlink:href="https://www.computest.nl/advisories/CT-2017-0109_Ansible.txt">
|
|
|
|
vulnerability</link> unpatched by upstream.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2017-02-04 11:48:11 +00:00
|
|
|
|
2016-09-02 07:40:48 +01:00
|
|
|
<listitem>
|
2016-09-12 00:08:53 +01:00
|
|
|
<para>
|
|
|
|
<literal>gnome</literal> alias has been removed along with
|
|
|
|
<literal>gtk</literal>, <literal>gtkmm</literal> and several others.
|
|
|
|
Now you need to use versioned attributes, like <literal>gnome3</literal>.
|
|
|
|
</para>
|
2016-09-02 07:40:48 +01:00
|
|
|
</listitem>
|
2016-09-24 18:26:15 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The attribute name of the Radicale daemon has been changed from
|
|
|
|
<literal>pythonPackages.radicale</literal> to
|
|
|
|
<literal>radicale</literal>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-10-08 15:49:58 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The Yama LSM is now enabled by default in the kernel,
|
|
|
|
which prevents ptracing non-child processes.
|
|
|
|
This means you will not be able to attach gdb to an existing process,
|
|
|
|
but will need to start that process from gdb (so it is a child).
|
2016-10-13 08:49:47 +01:00
|
|
|
</para>
|
2016-10-11 17:09:56 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The <literal>stripHash</literal> bash function in <literal>stdenv</literal>
|
|
|
|
changed according to its documentation; it now outputs the stripped name to
|
|
|
|
<literal>stdout</literal> instead of putting it in the variable
|
|
|
|
<literal>strippedName</literal>.
|
2016-10-08 15:49:58 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-10-16 16:07:27 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>PHP now scans for extra configuration .ini files in /etc/php.d
|
|
|
|
instead of /etc. This prevents accidentally loading non-PHP .ini files
|
|
|
|
that may be in /etc.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-11-20 14:41:38 +00:00
|
|
|
|
2017-02-09 21:22:46 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Two lone top-level dict dbs moved into <literal>dictdDBs</literal>. This
|
|
|
|
affects: <literal>dictdWordnet</literal> which is now at
|
|
|
|
<literal>dictdDBs.wordnet</literal> and <literal>dictdWiktionary</literal>
|
|
|
|
which is now at <literal>dictdDBs.wiktionary</literal>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-11-20 14:41:38 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Parsoid service now uses YAML configuration format.
|
|
|
|
<literal>service.parsoid.interwikis</literal> is now called
|
|
|
|
<literal>service.parsoid.wikis</literal> and is a list of either API URLs
|
|
|
|
or attribute sets as specified in parsoid's documentation.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-12-18 10:57:35 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>Ntpd</literal> was replaced by
|
2016-12-18 12:31:12 +00:00
|
|
|
<literal>systemd-timesyncd</literal> as the default service to synchronize
|
|
|
|
system time with a remote NTP server. The old behavior can be restored by
|
2016-12-18 10:57:35 +00:00
|
|
|
setting <literal>services.ntp.enable</literal> to <literal>true</literal>.
|
|
|
|
Upstream time servers for all NTP implementations are now configured using
|
2016-12-18 12:31:12 +00:00
|
|
|
<literal>networking.timeServers</literal>.
|
2016-12-18 10:57:35 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-12-17 18:05:21 +00:00
|
|
|
|
|
|
|
<listitem>
|
2017-02-09 20:16:20 +00:00
|
|
|
<para>
|
|
|
|
<literal>service.nylon</literal> is now declared using named instances.
|
|
|
|
As an example:
|
2017-01-14 14:15:55 +00:00
|
|
|
|
2017-02-09 20:16:20 +00:00
|
|
|
<programlisting>
|
|
|
|
services.nylon = {
|
|
|
|
enable = true;
|
|
|
|
acceptInterface = "br0";
|
|
|
|
bindInterface = "tun1";
|
|
|
|
port = 5912;
|
|
|
|
};
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
should be replaced with:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
services.nylon.myvpn = {
|
|
|
|
enable = true;
|
|
|
|
acceptInterface = "br0";
|
|
|
|
bindInterface = "tun1";
|
|
|
|
port = 5912;
|
|
|
|
};
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
this enables you to declare a SOCKS proxy for each uplink.
|
|
|
|
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-12-17 18:05:21 +00:00
|
|
|
<listitem>
|
2017-01-14 14:15:55 +00:00
|
|
|
<para><literal>overridePackages</literal> function no longer exists.
|
|
|
|
It is replaced by <link
|
|
|
|
xlink:href="https://nixos.org/nixpkgs/manual/#sec-overlays-install">
|
|
|
|
overlays</link>. For example, the following code:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
let
|
2017-01-15 23:16:37 +00:00
|
|
|
pkgs = import <nixpkgs> {};
|
2017-01-14 14:15:55 +00:00
|
|
|
in
|
|
|
|
pkgs.overridePackages (self: super: ...)
|
|
|
|
</programlisting>
|
|
|
|
|
2017-01-15 15:07:29 +00:00
|
|
|
should be replaced by:
|
2017-01-14 14:15:55 +00:00
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
let
|
2017-01-17 21:24:44 +00:00
|
|
|
pkgs = import <nixpkgs> {};
|
2017-01-14 14:15:55 +00:00
|
|
|
in
|
|
|
|
import pkgs.path { overlays = [(self: super: ...)] }
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
</para>
|
2016-12-17 18:05:21 +00:00
|
|
|
</listitem>
|
2017-01-22 18:53:19 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Autoloading connection tracking helpers is now disabled by default.
|
|
|
|
This default was also changed in the Linux kernel and is considered
|
|
|
|
insecure if not configured properly in your firewall. If you need
|
|
|
|
connection tracking helpers (i.e. for active FTP) please enable
|
|
|
|
<literal>networking.firewall.autoLoadConntrackHelpers</literal> and
|
|
|
|
tune <literal>networking.firewall.connectionTrackingModules</literal>
|
|
|
|
to suit your needs.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2017-02-04 11:48:11 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>local_recipient_maps</literal> is not set to empty value by
|
|
|
|
Postfix service. It's an insecure default as stated by Postfix
|
|
|
|
documentation. Those who want to retain this setting need to set it via
|
|
|
|
<literal>services.postfix.extraConfig</literal>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-02 07:40:48 +01:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
|
|
<para>Other notable improvements:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2017-02-08 18:36:22 +00:00
|
|
|
|
2016-09-02 07:40:48 +01:00
|
|
|
<listitem>
|
2016-09-07 02:03:32 +01:00
|
|
|
<para>Module type system have a new extensible option types feature that
|
|
|
|
allow to extend certain types, such as enum, through multiple option
|
|
|
|
declarations of the same option across multiple modules.
|
|
|
|
</para>
|
2016-09-02 07:40:48 +01:00
|
|
|
</listitem>
|
2017-02-08 18:36:22 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>jre</literal> now defaults to GTK+ UI by default. This
|
|
|
|
improves visual consistency and makes Java follow system font style,
|
|
|
|
improving the situation on HighDPI displays. This has a cost of increased
|
|
|
|
closure size; for server and other headless workloads it's recommended to
|
|
|
|
use <literal>jre_headless</literal>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-02 07:40:48 +01:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|