[Nix-dev] NIX_OTHER_STORES

Eelco Dolstra eelco.dolstra at logicblox.com
Wed May 23 15:14:25 CEST 2012


Hi,

On 23/05/12 06:28, js at lastlog.de wrote:

> i would like to understand what NIX_OTHER_STORES is good for (i guess it
> is used when installing nixos) and how the different location of this store
> interferes with the problems described above.

The stores in $NIX_OTHER_STORES must have the same "true" location (i.e.
/nix/store), so they can be used for binary deployment.  They idea is that
they're NFS mounts (or similar) of the /nix/store on another machine.  The NixOS
installer uses it to copy stuff from the /nix/store on the installation CD (so
/nix/store is bind-mounted into the target chroot).

Note however that currently NFS mounts don't work due to SQLite issues.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list