diff options
Diffstat (limited to 'doc/manual/release-notes')
-rw-r--r-- | doc/manual/release-notes/rl-1.12.xml | 84 |
1 files changed, 48 insertions, 36 deletions
diff --git a/doc/manual/release-notes/rl-1.12.xml b/doc/manual/release-notes/rl-1.12.xml index e15296965308..adfbaa157f22 100644 --- a/doc/manual/release-notes/rl-1.12.xml +++ b/doc/manual/release-notes/rl-1.12.xml @@ -52,8 +52,7 @@ information about store paths.</para></listitem> <listitem><para><command>nix run</command> starts a shell in - which the specified packages are available. (TODO: currently - broken in chroot mode)</para></listitem> + which the specified packages are available.</para></listitem> <listitem><para><command>nix log</command> shows the build log of a package or path. If the build log is not available locally, @@ -74,6 +73,17 @@ name, package name or description. It caches available packages to speed up searches.</para></listitem> + <listitem><para><command>nix why-depends</command> (d41c5eb13f4f3a37d80dbc6d3888644170c3b44a).</para></listitem> + + <listitem><para><command>nix show-derivation</command> (e8d6ee7c1b90a2fe6d824f1a875acc56799ae6e2).</para></listitem> + + <listitem><para><command>nix add-to-store</command> (970366266b8df712f5f9cedb45af183ef5a8357f).</para></listitem> + + <listitem><para>Progress indicator.</para></listitem> + + <listitem><para>All options are available as flags now + (b8283773bd64d7da6859ed520ee19867742a03ba).</para></listitem> + </itemizedlist> </listitem> @@ -84,10 +94,6 @@ </listitem> <listitem> - <para>Nix now supports floating-point numbers.</para> - </listitem> - - <listitem> <para>New build mode <command>nix-build --hash</command> that builds a derivation, computes the hash of the output, and moves the output to the store path corresponding to what a fixed-output @@ -172,11 +178,6 @@ </listitem> <listitem> - <para>“Nested” log output was removed. As a result, - <command>nix-log2xml</command> was also removed.</para> - </listitem> - - <listitem> <para>When <option>--no-build-output</option> is given, the last 10 lines of the build log will be shown if a build fails.</para> @@ -195,10 +196,6 @@ </listitem> <listitem> - <para>Removed OpenSSL-based signing. (f435f8247553656774dd1b2c88e9de5d59cab203)</para> - </listitem> - - <listitem> <para><literal><nix/fetchurl.nix></literal> now uses the content-addressable tarball cache at <uri>http://tarballs.nixos.org/</uri>, just like @@ -252,21 +249,11 @@ configureFlags = "--prefix=${placeholder "out"} --includedir=${placeholder "dev" </listitem> <listitem> - <para>Added builtin function - <varname>builtins.partition</varname>.</para> - </listitem> - - <listitem> <para>Support for HTTP/2. This makes binary cache lookups much more efficient. (90ad02bf626b885a5dd8967894e2eafc953bdf92)</para> </listitem> <listitem> - <para>Caching of failed builds has been - removed. (8cffec84859cec8b610a2a22ab0c4d462a9351ff)</para> - </listitem> - - <listitem> <para>The <option>build-sandbox-paths</option> configuration option can now specify optional paths by appending a <literal>?</literal>, e.g. <literal>/dev/nvidiactl?</literal> will @@ -373,7 +360,7 @@ configureFlags = "--prefix=${placeholder "out"} --includedir=${placeholder "dev" </listitem> <listitem> - <para><command>nix-shell</command> now used + <para><command>nix-shell</command> now uses <varname>bashInteractive</varname> from Nixpkgs, rather than the <command>bash</command> command that happens to be in the caller’s <envar>PATH</envar>. This is especially important on macOS where @@ -383,28 +370,53 @@ configureFlags = "--prefix=${placeholder "out"} --includedir=${placeholder "dev" </listitem> <listitem> - <para><function>builtins.split</function>. - (b8867a0239b1930a16f9ef3f7f3e864b01416dff))</para> + <para>New builtin functions: <function>builtins.split</function> + (b8867a0239b1930a16f9ef3f7f3e864b01416dff), + <function>builtins.partition</function>.</para> </listitem> <listitem> - <para><filename>nix-mode.el</filename> has been removed from Nix. It is now a separate repository - in <uri>https://github.com/NixOS/nix-mode</uri> and can be installed through the MELPA - package repository.</para> + <para>Automatic garbage collection.</para> </listitem> <listitem> - <para>Automatic garbage collection.</para> + <para><command>nix-store -q --roots</command> and + <command>nix-store --gc --print-roots</command> now show temporary + and in-memory roots.</para> </listitem> <listitem> - <para><command>nix why-depends</command></para> + <para>Builders can now communicate what build phase they are in by + writing messages to the file descriptor specified in + <envar>NIX_LOG_FD</envar>. (88e6bb76de5564b3217be9688677d1c89101b2a3) + </para> </listitem> +</itemizedlist> + +<para>Some features were removed:</para> + +<itemizedlist> + <listitem> - <para><command>nix-store -q --roots</command> and - <command>nix-store --gc --print-roots</command> now show temporary - and in-memory roots.</para> + <para>“Nested” log output. As a result, + <command>nix-log2xml</command> was also removed.</para> + </listitem> + + <listitem> + <para>OpenSSL-based signing. (f435f8247553656774dd1b2c88e9de5d59cab203)</para> + </listitem> + + <listitem> + <para>Caching of failed + builds. (8cffec84859cec8b610a2a22ab0c4d462a9351ff)</para> + </listitem> + + <listitem> + <para><filename>nix-mode.el</filename> has been removed from + Nix. It is now a separate repository in + <uri>https://github.com/NixOS/nix-mode</uri> and can be installed + through the MELPA package repository.</para> </listitem> </itemizedlist> |