Sporradic user '_nixbld2' in the group 'nixbld' does not exist #31
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running a
nix build
on Darwin right after running the lix-installer, I sporadically get this error:This error is not related to Sequoia. For some reason the user database on MacOS doesn't always update immediately. My best guess is that this is some sort of timing issue in MacOS when creating users in quick succession. I could only reproduce it when running multiple MacOS VMs for CI which I assume would be more prone to context switching.
Querying for the user, I can see that it exists:
So the user does in fact exist, but getpwnam somehow still returns
null
.Running
odutil reset cache
after the installation step appears to fix the issue. My suggestion would be to add it to the end of the user setup process.