-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reinstalling Nix on MacOS (error: failed to configure synthetic.conf) #8771
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/2 |
Can you follow the uninstall instructions again and then report back on whether synthetic.conf still exists, and if so what it contains and what it's permissions are? |
@abathur here it goes, the uninstall log: Uninstall commands and log
File content and permissions:
|
I've also responded to your discourse thread with a note that this sounds like you have leftover artifacts of a nix-darwin install, and I recommend removing /etc/synthetic.conf at minimum (but I don't know if that'll be sufficient, or if any other nix-darwin changes are likely to be interfering). |
Will give it a go, and then update both discourse and here with the results. |
@abathur it worked, as in, Nix is reinstalled. However, the error persists. Not sure if I should close this ticket and open a new one (or update the title). The errors:
I also tried the With `--fallback`
|
This fixes the problem: #3261 (comment) I had to remove the old link first, you can check if it exists by:
Mine was pointing to I removed it using, and then created the new one as specified here #3261 (comment) :
Thank you so much for the help @abathur, and everyone else that commented on other issues. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/5 |
Shouldn't this go into the installer script? |
Platform
Additional information
Installed Nix using DeterminateSystems installer first (0.8.0), but this error also have happened in the past with the Nix oficial installer.
After this, uninstalled it using
/nix/nix-installer uninstall
and then following the remaning steps at https://nixos.org/manual/nix/stable/installation/uninstall.html#macosTrying to reinstall due to an error to which I cannot find a solution or more information on. (https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171)
OS: MacOS Ventura 13.4.1 (c) (22F770820d)
M2 Air
Output
Output
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: