Open mirosval opened 5 days ago
Thanks for the report, @mirosval.
For some background, nix-installer doesn't support upgrading to make the uninstall process as reliable as possible. Since we write out a receipt, we preserve the nix-installer binary to make sure that receipt can be parsed and reverted with the same semantics that created it. If we upgraded the nix-installer binary over time, maintaining that uninstall process becomes a much more challenging prospect -- likely involving a lot of code duplication whenever the steps changed. I think you know, this, though, from the other issue.
I do want to call out that the Sequioa repair command was deliberately made to be executable for users, no matter how they installed Nix, because of this limitation of nix-installer.
I also hear what you're saying here. That the process you went through was really painful, and whether you upgrade nix-installer or not, the important part is not having such a miserable experience. Any chance you could email me and we could talk a bit further about that?
I wrote you an email, thank you for that!
Maybe one idea worth discussing here is to split the installer and the orthogonal tooling such that these repair jobs don't depend on the nix-installer but can be run separately?
Hello and thank you for developing this software, it's an awesome improvement over the official Nix installer!
I have seen https://github.com/DeterminateSystems/nix-installer/issues/1164 which might seem like a duplicate, but would like to share my experience to try to motivate this differently or maybe learn something I didn't know.
I've had a very unpleasant experience recently and I believe this feature would go a long way in mitigating this in the future.
I'm using the nix installer on darwin with nix-darwin and home manager. The timeline of what happened is a bit sketchy here because I didn't expect it and so didn't take full notes:
nix-installer uninstall
nix-installer
that can detect and help with this, because it took me embarrassingly long to find it in the readme)I can see that these random issues, such as the current Sequoia ID issue keep cropping up and the newer versions of the nix-installer can deal with them better than the old versions. It would be awesome if we could take advantage of the new versions without having to completely reinstall nix every time.