Re: [Nix-dev] Installing /nix on nfs-mounted volume possible?

2016-02-10 Thread Eelco Dolstra
Hi, On 08/02/16 19:15, Wout Mertens wrote: > The problem with nfs nix stores is that the metadata is stored in sqlite, > which > can't guarantee proper locking on nfs. However, if you only write from one > host, > there is no problem. IIRC, SQLite *should* work if you disable WAL mode (by

Re: [Nix-dev] Installing /nix on nfs-mounted volume possible?

2016-02-09 Thread deCube.net | Danny Wilson
I’ve used a shared nix store between VMs in the past, until the sqlite database got corrupted… If I’d do it again, I would configure a single build VM ( nix.buildMachines ) and set nix.maxJobs to 0. That guarantees all builds are executed on this one machine. Any nix store copying after the

Re: [Nix-dev] Installing /nix on nfs-mounted volume possible?

2016-02-09 Thread Ben Booth
> On Feb 8, 2016, at 10:15 AM, Wout Mertens wrote: > The problem with nfs nix stores is that the metadata is stored in sqlite, > which can't guarantee proper locking on nfs. However, if you only write from > one host, there is no problem. > > As for the python stuff,

[Nix-dev] Installing /nix on nfs-mounted volume possible?

2016-02-08 Thread Ben Booth
Hi all, I would like to use nix to install software and run in on a variety of linux machines at my work. I tried installing nix to my NFS-mounted home folder as outlined here[1], but I had trouble with both proot[2] and nix-user-chroot[3], since they both mess up some permissions and break

Re: [Nix-dev] Installing /nix on nfs-mounted volume possible?

2016-02-08 Thread Wout Mertens
The problem with nfs nix stores is that the metadata is stored in sqlite, which can't guarantee proper locking on nfs. However, if you only write from one host, there is no problem. As for the python stuff, you can run it in a proot, or use nixos which doesn't have /usr :-) On Mon, Feb 8, 2016,