From a7b4aaa2c342437b14b82f216613759acc1208d5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 Dec 2012 17:41:51 +0100 Subject: [PATCH] Updated release notes --- doc/manual/release-notes.xml | 62 ++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index ea28436b8..2564f48c8 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -48,6 +48,28 @@ $ nix-env -i thunderbird --option binary-caches http://nixos.org/binary-cache nix-dev posting. + + Multiple output support should now be usable. A derivation + can declare that it wants to produce multiple store paths by + saying something like + +outputs = [ "lib" "headers" "doc" ]; + + This will cause Nix to pass the intended store path of each output + to the builder through the environment variables + lib, headers and + doc. Other packages can refer to a specific + output by referring to + pkg.output, + e.g. + +buildInputs = [ pkg.lib pkg.headers ]; + + If you install a package with multiple outputs using + nix-env, each output path will be symlinked + into the user environment. + + Dashes are now valid as part of identifiers and attribute names. @@ -81,6 +103,34 @@ $ mount -o remount,ro,bind /nix/store modifications. + + Store optimisation (replacing identical files in the store + with hard links) can now be done automatically every time a path + is added to the store. This is enabled by setting the + configuration option auto-optimise-store to + true (disabled by default). + + + + Nix now supports xz compression for NARs + in addition to bzip2. It compresses about 30% + better on typical archives and decompresses about twice as + fast. + + + + Basic Nix expression evaluation profiling: setting the + environment variable NIX_COUNT_CALLS to + 1 will cause Nix to print how many times each + primop or function was executed. + + + + New primops: concatLists, + elem, elemAt and + filter. + + The command nix-copy-closure has a new flag () to @@ -94,8 +144,20 @@ $ mount -o remount,ro,bind /nix/store worker in “slave” mode has been removed. + + The flag of every Nix command now + invokes man. + + + + Chroot builds are now supported on systemd machines. + + +This release has contributions from Eelco Dolstra, Florian +Friesdorf, Mats Erik Andersson and Shea Levy. +