[Nix-dev] NIX_OTHER_STORES
Lluís Batlle i Rossell
viric at viric.name
Wed May 23 15:15:33 CEST 2012
On Wed, May 23, 2012 at 09:14:25AM -0400, Eelco Dolstra wrote:
> 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.
sshfs mounts work, but only if they are read-write. read-only fails.
Regards,
Lluís.
More information about the nix-dev
mailing list