You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be for upstream to resolve first. I'm mentioning this here as a note for myself/others. The nix daemon script is sourced in /etc/{bashrc,zshrc} on macos. However, these files may be overwritten on os upgrade. They are not for 3rd party usage. Unclear what the solution is.
The workaround is to source the daemon in user-specific shell config (~/.zshrc or ~/.zprofile). This can be achieved by copying over the snippet inserted by the installer. However, this doesn't seem appropriate for the installer to do given that multiuser installs are the recommended option now.
You can use this workaround I built. It can be used to manually fix the zshrc file or you can have it install a LaunchDaemon that will fix the file on boot.
This might be for upstream to resolve first. I'm mentioning this here as a note for myself/others. The nix daemon script is sourced in /etc/{bashrc,zshrc} on macos. However, these files may be overwritten on os upgrade. They are not for 3rd party usage. Unclear what the solution is.
The workaround is to source the daemon in user-specific shell config (~/.zshrc or ~/.zprofile). This can be achieved by copying over the snippet inserted by the installer. However, this doesn't seem appropriate for the installer to do given that multiuser installs are the recommended option now.
NixOS/nix#3616
NixOS/nix#4169
NixOS/nix#5179
https://checkoway.net/musings/nix/#fixing-shell-integration
The text was updated successfully, but these errors were encountered: