about summary refs log tree commit diff
path: root/doc/manual/release-notes/rl-2.1.xml
blob: 20a8e4ea6cabeee3ae71226101baa0759779b1c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<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="ssec-relnotes-2.1">

<title>Release 2.1 (2018-08-31)</title>

<para>This is primarily a bug fix release. It also reduces memory
consumption in certain situations. In addition, it has the following
new features:</para>

<itemizedlist>

  <listitem>
    <para>New builtin functions:
    <literal>builtins.bitAnd</literal>,
    <literal>builtins.bitOr</literal>,
    <literal>builtins.bitXor</literal>,
    <literal>builtins.fromTOML</literal>,
    <literal>builtins.concatMap</literal>,
    <literal>builtins.mapAttrs</literal>.
    </para>
  </listitem>

  <listitem>
    <para>The S3 binary cache store now supports uploading NARs larger
    than 5 GiB.</para>
  </listitem>

  <listitem>
    <para>The S3 binary cache store now supports uploading to
    S3-compatible services with the <literal>endpoint</literal>
    option.</para>
  </listitem>

  <listitem>
    <para>The flag <option>--fallback</option> is no longer required
    to recover from disappeared NARs in binary caches.</para>
  </listitem>

  <listitem>
    <para><command>nix-daemon</command> now respects
    <option>--store</option>.</para>
  </listitem>

  <listitem>
    <para><command>nix run</command> now respects
    <varname>nix-support/propagated-user-env-packages</varname>.</para>
  </listitem>

  <listitem>
    <para>The Nix installer will no longer default to the Multi-User
    installation for macOS. You can still <link
    linkend="sect-multi-user-installation">instruct the installer to
    run in multi-user mode</link>.
    </para>
  </listitem>

  <listitem>
    <para>The Nix installer now supports performing a Multi-User
    installation for Linux computers which are running systemd. You
    can <link
    linkend="sect-multi-user-installation">select a Multi-User installation</link> by passing the
    <option>--daemon</option> flag to the installer: <command>sh &lt;(curl
    https://nixos.org/nix/install) --daemon</command>.
    </para>

    <para>The multi-user installer cannot handle systems with SELinux.
    If your system has SELinux enabled, you can <link
    linkend="sect-single-user-installation">force the installer to run
    in single-user mode</link>.</para>
  </listitem>

</itemizedlist>

<para>
  Multi-user Nix users on macOS can upgrade Nix by running
  <command>sudo -i sh -c 'nix-channel --update &amp;&amp; nix-env -iA
  nixpkgs.nix'; sudo launchctl stop org.nixos.nix-daemon; sudo
  launchctl start org.nixos.nix-daemon</command>.
</para>

<para>This release has contributions from

Adrien Devresse,
Aleksandr Pashkov,
Alexandre Esteves,
Amine Chikhaoui,
Andrew Dunham,
Asad Saeeduddin,
aszlig,
Ben Challenor,
Ben Gamari,
Benjamin Hipple,
Bogdan Seniuc,
Corey O'Connor,
Daiderd Jordan,
Daniel Peebles,
Daniel Poelzleithner,
Danylo Hlynskyi,
Dmitry Kalinkin,
Domen Kožar,
Doug Beardsley,
Eelco Dolstra,
Erik Arvstedt,
Félix Baylac-Jacqué,
Gleb Peregud,
Graham Christensen,
Guillaume Maudoux,
Ivan Kozik,
John Arnold,
Justin Humm,
Linus Heckemann,
Lorenzo Manacorda,
Matthew Justin Bauer,
Matthew O'Gorman,
Maximilian Bosch,
Michael Bishop,
Michael Fiano,
Michael Mercier,
Michael Raskin,
Michael Weiss,
Nicolas Dudebout,
Peter Simons,
Ryan Trinkle,
Samuel Dionne-Riel,
Sean Seefried,
Shea Levy,
Symphorien Gibol,
Tim Engler,
Tim Sears,
Tuomas Tynkkynen,
volth,
Will Dietz,
Yorick van Pelt and
zimbatm.
</para>

</section>