nix
nix copied to clipboard
Allow installing multi-user as root on macOS and Linux
This may work fine on a mac, but I don't have one for testing. I haven't tested this exact change on Linux yet, but it operates on the idea that you can "just" set EUID=65535 as root and the installer works fine. Going to test this shortly.
Closes #6801, cc @cole-h.
Tested the resulting installer, I think this is good to go.
You need a MacBook Air to test it? I. An fedex you one to try I have a few lying around I been hoarding them and raid ing costxo
It would be great to test this on macOS as root, but I'll merge it since it shouldn't break existing usage.
FYI: it was tested on an x86 macOS VM (not aarch64 or on real hardware, but hopefully a close enough approximation?): https://github.com/NixOS/nix/pull/6882#discussion_r941603130. So, ideally, everything should be fine.
I tested this on an aarch64 mac through MDM and it worked great!