nix-installer
nix-installer copied to clipboard
Uninstall failed to delete nixbld users
After running the Determinate installer's uninstall, the _nixbld* users still existed. (This causes attempts to run the upstream installer to fail, see https://github.com/NixOS/nix/issues/12343.)
For some reason, _nixbld* users are in an undeletable state:
ephemeraladmin@mac-epic-turducken ~ % sudo dscl . -rm /Users/_nixbld1
<main> delete status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)
which may be why the uninstaller failed to get rid of them.
We actually have a warning for this exact case: https://github.com/DeterminateSystems/nix-installer/blob/9c5542af59fc37deaa7d8815d6810330bdd16f4e/src/action/base/create_user.rs#L383
I don't think there's anything we can really do to fix this, unfortunately.