Re: [Nix-dev] nix-multi-user installation script

2014-11-07 Thread Andreas Herrmann
Hi, Thanks for having a look at this! On Thursday 06 November 2014 13:17:57 Wout Mertens wrote: > On Tue Oct 28 2014 at 10:15:03 PM Andreas Herrmann > wrote: > > I would like to ask you guys to have a look at this script and tell me > > what you think of it. Do you think it could be valuable to

Re: [Nix-dev] nix-multi-user installation script

2014-11-06 Thread Wout Mertens
Aha so from https://github.com/NixOS/nixpkgs/blob/f079cd1721cd50d188f3c32387a074bf00afb34d/nixos/modules/services/misc/nix-daemon.nix#L29-L32 (incidentally, I'd love it if somehow that was generated before running the rest of a nixos-rebuild, so nix options take hold before building) On Thu Nov 0

Re: [Nix-dev] nix-multi-user installation script

2014-11-06 Thread Peter Simons
Hi Wout, >> The chroot build feature seems to require a statically linked bash. > > Not really - you just need to make sure all the libraries are in the > chroot. I would think that it just works on Linux, where everything is > linked only to /nix/store (unless the build got tainted). it "ju

Re: [Nix-dev] nix-multi-user installation script

2014-11-06 Thread Wout Mertens
On Tue Oct 28 2014 at 10:15:03 PM Andreas Herrmann wrote: > in the past two weeks or so I have been experimenting with Nix multi-user > mode. My goal was to be able to reliably install Nix in multi-user mode on > a CentOS 6.5 machine. The result of this was a bash script which pretty > much auto

[Nix-dev] nix-multi-user installation script

2014-10-28 Thread Andreas Herrmann
Hello everyone, in the past two weeks or so I have been experimenting with Nix multi-user mode. My goal was to be able to reliably install Nix in multi-user mode on a CentOS 6.5 machine. The result of this was a bash script which pretty much automates the whole process [1]. The script is still