musl wip
On CentOS 7.4 I have namespaces configured (I'm using them for sandboxed builds already) but using the binary (https://matthewbauer.us/nix) I get:
$ ./nix
Run the following as root to enable unprivileged namespace use:
sysctl -w kernel.unprivileged_userns_clone=1 ; echo kernel.unprivileged_userns_clone=1 > /etc/sysctl.d/nix-user-chroot.conf
Isn't that option Debian-specific?
I think related is https://github.com/lxc/lxc/issues/842#issuecomment-225920761.
I've been using this reliably for a while.
I've been using this reliably for a while.
That's good! I think I will wait on this though just because most people don't have access to Musl stuff. It's a pretty big rebuild unless you use something like @dtzWill's AllVM cache.
Can you hook into the musl builds of busybox that the NixOS bootstrap already uses?
just uploaded a recent musl toolchain to arm.cachix.org, should save an hour or two