Open grahamc opened 5 years ago
Possibly related, installation under WSL 2 Ubuntu is also broken:
error: while setting up the build environment: mounting /proc: Operation not permitted
./install: unable to install Nix into your default profile
Disabling sandboxing seems to help:
mkdir ~/.config/nix
echo "sandbox = false" > ~/.config/nix/nix.conf
With this workaround in place I was able to complete installation of Nix under WSL 2 simply by re-running the installation script.
I marked this as stale due to inactivity. → More info
This is still relevant mr bot, thank you
Ubuntu 12.04, centos 6 an debian 8 are really old and I don't think we should spend time on them.
debian9 and gentoo can probably be fixed by either installing rsync which should not be required on newer version IIRC.
Edit: rsync requirement got removed with https://github.com/NixOS/nix/pull/5150
Ah, I had this problem yesterday on archlinux with very fresh updates, and I went to this issue from the archwiki where it was listed together with the workaound
Ah, I had this problem yesterday on archlinux with very fresh updates, and I went to this issue from the archwiki where it was listed together with the workaound
The workaround there tells to disable sandbox in nix config file, this is a important thing? Should that be disabled?
@klarkc extremely, its akin to disabling sandboxing in docker, a malicious build script could read all your files send them off to a server and you'd never notice
I marked this as stale due to inactivity. → More info
bot begone
I think it was the right idea to enable it by default, but probably having a way to detect its support first might be good.
The change broke installations for:
Grid comparison:
2.2.2
Open these up in to new tabs and swap between them to see the differences.
Full reports: