lix disappear on darwin updates #39
Loading…
Add table
Add a link
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?
Hi,
This is not blocking for me, but I guess I should report that, since it bit me 4 times already.
The aarch64-darwin machine I have access to tend to forget I installed lix on it. After a reboot, so I guess after some kind of upgrade, the first immediate symptom is:
Then, having a very limited darwin experience, a log into an account with admin rights and try again the install step:
After that, a uninstall step is proposed, and succeed, and I try again to install and it works.
I think last time I had to manually remove build users and group before the reinstall could succeed.
I use that machine only to test builds, and other people also use it without nix, so I did not try nix-darwin.
Metadata
iirc this is the shell profile tweaks getting eaten while the installation is still there. definitely a bug that we can't fix it.
Thanks for the hint. I guess I can backup
/etc/{ba,z}sh*
and try to restore those next time.If this work, maybe we can document that, and/or try to detect this situation in the planner and just run this action.
That part of
/etc/{ba,z}sh*
was indeed eaten:But adding it again is not enough:
I had to add
nix
in/etc/synthetic.conf
and reboot.