2015-09-01 12:52:08 +00: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-unstable">
|
|
|
|
|
|
|
|
<title>Unstable</title>
|
|
|
|
|
2015-11-18 00:26:00 +00:00
|
|
|
<para>In addition to numerous new and upgraded packages, this release
|
|
|
|
has the following highlights:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>You can now pin a specific version of NixOS in your <filename>configuration.nix</filename>
|
|
|
|
by setting:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
nixos.path = ./nixpkgs-unstable-2015-12-06/nixos;
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
This will make NixOS re-evaluate your configuration with the modules of
|
|
|
|
the specified NixOS version at the given path. For more details, see
|
|
|
|
<xref linkend="module-misc-nixos" /></para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-01-15 07:34:26 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Firefox and similar browsers are now <emphasis>wrapped by default</emphasis>.
|
|
|
|
The package and attribute names are plain <literal>firefox</literal>
|
|
|
|
or <literal>midori</literal>, etc. Backward-compatibility attributes were set up,
|
|
|
|
but note that <command>nix-env -u</command> will <emphasis>not</emphasis> update
|
|
|
|
your current <literal>firefox-with-plugins</literal>;
|
|
|
|
you have to uninstall it and install <literal>firefox</literal> instead.
|
|
|
|
More discussion is <link xlink:href="https://github.com/NixOS/nixpkgs/pull/12299">
|
|
|
|
on the PR</link>. </para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-11-18 00:26:00 +00:00
|
|
|
</itemizedlist>
|
|
|
|
|
2015-11-26 21:43:11 +00:00
|
|
|
<para>The following new services were added since the last release:
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><literal>services/monitoring/longview.nix</literal></para></listitem>
|
2016-02-11 11:02:11 +00:00
|
|
|
<listitem><para><literal>services/networking/pdnsd.nix</literal></para></listitem>
|
2015-12-27 13:32:44 +00:00
|
|
|
<listitem><para><literal>services/web-apps/pump.io.nix</literal></para></listitem>
|
2016-02-01 08:47:23 +00:00
|
|
|
<listitem><para><literal>services/security/haka.nix</literal></para></listitem>
|
2016-02-16 14:32:01 +00:00
|
|
|
<listitem><para><literal>i18n/inputMethod/default.nix</literal></para></listitem>
|
2015-11-26 21:43:11 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
|
2015-09-01 12:52:08 +00:00
|
|
|
<para>When upgrading from a previous release, please be aware of the
|
2015-09-21 09:02:17 +00:00
|
|
|
following incompatible changes:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><command>wmiiSnap</command> has been replaced with
|
|
|
|
<command>wmii_hg</command>, but
|
|
|
|
<command>services.xserver.windowManager.wmii.enable</command> has
|
|
|
|
been updated respectively so this only affects you if you have
|
|
|
|
explicitly installed <command>wmiiSnap</command>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-01-14 12:07:56 +00:00
|
|
|
<listitem>
|
|
|
|
<para><literal>jobs</literal> NixOS option has been removed. It served as
|
|
|
|
compatibility layer between Upstart jobs and SystemD services. All services
|
|
|
|
have been rewritten to use <literal>systemd.services</literal></para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-09-21 09:02:17 +00:00
|
|
|
<listitem>
|
|
|
|
<para><command>wmiimenu</command> is removed, as it has been
|
|
|
|
removed by the developers upstream. Use <command>wimenu</command>
|
|
|
|
from the <command>wmii-hg</command> package.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Gitit is no longer automatically added to the module list in
|
|
|
|
NixOS and as such there will not be any manual entries for it. You
|
|
|
|
will need to add an import statement to your NixOS configuration
|
|
|
|
in order to use it, e.g.
|
|
|
|
|
|
|
|
<programlisting><![CDATA[
|
|
|
|
{
|
|
|
|
imports = [ <nixos/modules/services/misc/gitit.nix> ];
|
|
|
|
}
|
|
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
will include the Gitit service configuration options.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-11-01 22:14:40 +00:00
|
|
|
<listitem>
|
|
|
|
<para><command>nginx</command> does not accept flags for enabling and
|
|
|
|
disabling modules anymore. Instead it accepts <literal>modules</literal>
|
|
|
|
argument, which is a list of modules to be built in. All modules now
|
|
|
|
reside in <literal>nginxModules</literal> set. Example configuration:
|
|
|
|
|
|
|
|
<programlisting><![CDATA[
|
|
|
|
nginx.override {
|
|
|
|
modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ];
|
|
|
|
}
|
|
|
|
]]></programlisting>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-11-21 20:55:10 +00:00
|
|
|
<listitem>
|
|
|
|
<para><command>s3sync</command> is removed, as it hasn't been
|
|
|
|
developed by upstream for 4 years and only runs with ruby 1.8.
|
|
|
|
For an actively-developer alternative look at
|
|
|
|
<command>tarsnap</command> and others.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-11-16 17:10:20 +00:00
|
|
|
<listitem>
|
|
|
|
<para><command>ruby_1_8</command> has been removed as it's not
|
|
|
|
supported from upstream anymore and probably contains security
|
|
|
|
issues.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-11-29 12:50:55 +00:00
|
|
|
<listitem>
|
|
|
|
<para><literal>tidy-html5</literal> package is removed.
|
|
|
|
Upstream only provided <literal>(lib)tidy5</literal> during development,
|
|
|
|
and now they went back to <literal>(lib)tidy</literal> to work as a drop-in
|
|
|
|
replacement of the original package that has been unmaintained for years.
|
|
|
|
You can (still) use the <literal>html-tidy</literal> package, which got updated
|
|
|
|
to a stable release from this new upstream.</para>
|
|
|
|
</listitem>
|
2015-12-08 15:54:02 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><literal>extraDeviceOptions</literal> argument is removed
|
|
|
|
from <literal>bumblebee</literal> package. Instead there are
|
|
|
|
now two separate arguments: <literal>extraNvidiaDeviceOptions</literal>
|
|
|
|
and <literal>extraNouveauDeviceOptions</literal> for setting
|
|
|
|
extra X11 options for nvidia and nouveau drivers, respectively.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2015-12-17 11:29:16 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The <literal>Ctrl+Alt+Backspace</literal> key combination
|
|
|
|
no longer kills the X server by default.
|
|
|
|
There's a new option <option>services.xserver.enableCtrlAltBackspace</option>
|
|
|
|
allowing to enable the combination again.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2015-12-17 13:21:53 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><literal>emacsPackagesNg</literal> now contains all packages
|
|
|
|
from the ELPA, MELPA, and MELPA Stable repositories.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-01-21 09:38:03 +00:00
|
|
|
|
2016-01-21 09:47:16 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Data directory for Postfix MTA server is moved from
|
|
|
|
<filename>/var/postfix</filename> to <filename>/var/lib/postfix</filename>.
|
|
|
|
Old configurations are migrated automatically. <literal>service.postfix</literal>
|
|
|
|
module has also received many improvements, such as correct directories' access
|
|
|
|
rights, new <literal>aliasFiles</literal> and <literal>mapFiles</literal>
|
|
|
|
options and more.</para>
|
|
|
|
</listitem>
|
2016-01-25 09:02:15 +00:00
|
|
|
|
2015-10-21 17:37:14 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Filesystem options should now be configured as a list of strings, not
|
|
|
|
a comma-separated string. The old style will continue to work, but print a
|
|
|
|
warning, until the 16.09 release. An example of the new style:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
fileSystems."/example" = {
|
|
|
|
device = "/dev/sdc";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = [ "noatime" "compress=lzo" "space_cache" "autodefrag" ];
|
|
|
|
};
|
|
|
|
</programlisting>
|
2016-02-07 12:52:42 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-01-21 09:38:03 +00:00
|
|
|
<listitem>
|
|
|
|
<para>CUPS, installed by <literal>services.printing</literal> module, now
|
|
|
|
has its data directory in <filename>/var/lib/cups</filename>. Old
|
|
|
|
configurations from <filename>/etc/cups</filename> are moved there
|
|
|
|
automatically, but there might be problems. Also configuration options
|
|
|
|
<literal>services.printing.cupsdConf</literal> and
|
|
|
|
<literal>services.printing.cupsdFilesConf</literal> were removed
|
|
|
|
because they had been allowing one to override configuration variables
|
|
|
|
required for CUPS to work at all on NixOS. For most use cases,
|
|
|
|
<literal>services.printing.extraConf</literal> and new option
|
|
|
|
<literal>services.printing.extraFilesConf</literal> should be enough;
|
|
|
|
if you encounter a situation when they are not, please file a bug.</para>
|
|
|
|
|
|
|
|
<para>There are also Gutenprint improvements; in particular, a new option
|
|
|
|
<literal>services.printing.gutenprint</literal> is added to enable automatic
|
|
|
|
updating of Gutenprint PPMs; it's greatly recommended to enable it instead
|
|
|
|
of adding <literal>gutenprint</literal> to the <literal>drivers</literal> list.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-01-24 23:57:28 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><literal>services.xserver.vaapiDrivers</literal> has been removed. Use
|
|
|
|
<literal>services.hardware.opengl.extraPackages{,32}</literal> instead. You can
|
|
|
|
also specify VDPAU drivers there.</para>
|
|
|
|
</listitem>
|
2016-02-16 14:32:01 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>programs.ibus</literal> moved to <literal>i18n.inputMethod.ibus</literal>.
|
|
|
|
The option <literal>programs.ibus.plugins</literal> changed to <literal>i18n.inputMethod.ibus.engines</literal>
|
|
|
|
and the option to enable ibus changed from <literal>programs.ibus.enable</literal> to
|
|
|
|
<literal>i18n.inputMethod.enabled</literal>.
|
|
|
|
<literal>i18n.inputMethod.enabled</literal> should be set to the used input method name,
|
|
|
|
<literal>"ibus"</literal> for ibus.
|
|
|
|
An example of the new style:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
i18n.inputMethod.enabled = "ibus";
|
|
|
|
i18n.inputMethod.ibus.engines = with pkgs.ibus-engines; [ anthy mozc ];
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
That is equivalent to the old version:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
programs.ibus.enable = true;
|
|
|
|
programs.ibus.plugins = with pkgs; [ ibus-anthy mozc ];
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-02-17 01:55:26 +00:00
|
|
|
<listitem>
|
|
|
|
<para><literal>services.udev.extraRules</literal> option now writes rules
|
|
|
|
to <filename>99-local.rules</filename> instead of <filename>10-local.rules</filename>.
|
|
|
|
This makes all the user rules apply after others, so their results wouldn't be
|
|
|
|
overriden by anything else.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-09-21 09:02:17 +00:00
|
|
|
</itemizedlist>
|
|
|
|
|
2016-01-10 09:14:40 +00:00
|
|
|
|
|
|
|
<para>Other notable improvements:
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>The <command>command-not-found</command> hook was extended.
|
|
|
|
Apart from <literal>$NIX_AUTO_INSTALL</literal> variable,
|
|
|
|
it newly also checks for <literal>$NIX_AUTO_RUN</literal>
|
|
|
|
which causes it to directly run the missing commands via
|
|
|
|
<command>nix-shell</command> (without installing anything). </para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-01-21 09:41:59 +00:00
|
|
|
<listitem>
|
|
|
|
<para><literal>ejabberd</literal> module is brought back and now works on
|
|
|
|
NixOS.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-02-16 14:32:01 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Input method support was improved. New NixOS modules (fcitx, nabi and uim),
|
|
|
|
fcitx engines (chewing, hangul, m17n, mozc and table-other) and ibus engines (hangul and m17n)
|
|
|
|
have been added.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-01-10 09:14:40 +00:00
|
|
|
</itemizedlist></para>
|
|
|
|
|
2015-09-01 12:52:08 +00:00
|
|
|
</section>
|