2014-09-16 12:29:00 +00:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
2014-08-27 16:41:09 +00:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="ssec-relnotes-1.4">
|
|
|
|
|
2016-01-04 13:38:26 +00:00
|
|
|
<title>Release 1.4 (2013-02-26)</title>
|
2014-08-27 16:41:09 +00:00
|
|
|
|
|
|
|
<para>This release fixes a security bug in multi-user operation. It
|
|
|
|
was possible for derivations to cause the mode of files outside of the
|
|
|
|
Nix store to be changed to 444 (read-only but world-readable) by
|
|
|
|
creating hard links to those files (<link
|
|
|
|
xlink:href="https://github.com/NixOS/nix/commit/5526a282b5b44e9296e61e07d7d2626a79141ac4">details</link>).</para>
|
|
|
|
|
|
|
|
<para>There are also the following improvements:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem><para>New built-in function:
|
|
|
|
<function>builtins.hashString</function>.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Build logs are now stored in
|
2020-07-23 12:28:05 +00:00
|
|
|
<filename>/nix/var/log/nix/drvs/<emphasis>XX</emphasis>/</filename>,
|
|
|
|
where <emphasis>XX</emphasis> is the first two characters of
|
2014-08-27 16:41:09 +00:00
|
|
|
the derivation. This is useful on machines that keep a lot of build
|
|
|
|
logs (such as Hydra servers).</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>The function <function>corepkgs/fetchurl</function>
|
|
|
|
can now make the downloaded file executable. This will allow
|
|
|
|
getting rid of all bootstrap binaries in the Nixpkgs source
|
|
|
|
tree.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Language change: The expression <literal>"${./path}
|
|
|
|
..."</literal> now evaluates to a string instead of a
|
|
|
|
path.</para></listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
2016-01-04 13:38:26 +00:00
|
|
|
</section>
|