[Nix-dev] Nix 1.2 released

Florian Friesdorf flo at chaoflow.net
Wed Dec 12 03:28:38 CET 2012


Hi Eelco,

great work!

Eelco Dolstra <eelco.dolstra at logicblox.com> writes:
>   * Nix no longer sets the immutable bit on files in the Nix store. Instead,
>     the recommended way to guard the Nix store against accidental modification
>     on Linux is to make it a read-only bind mount, like this:
>
>     $ mount --bind /nix/store /nix/store
>     $ mount -o remount,ro,bind /nix/store
>
>     Nix will automatically make /nix/store writable as needed (using a private
>     mount namespace) to allow modifications.

Where would be the correct place to put these commands?

>   * 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 elem library function evaluates all list elements instead of
returning "true" after finding a matching element. How does the builtin
elem function behave?

regards
florian
-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20121212/ba587966/attachment.bin 


More information about the nix-dev mailing list