Skip to content

Instantly share code, notes, and snippets.

@abiosoft
Created May 29, 2022 05:33
Show Gist options
  • Save abiosoft/937385bba6c57dfef3c0f953a5340714 to your computer and use it in GitHub Desktop.
Save abiosoft/937385bba6c57dfef3c0f953a5340714 to your computer and use it in GitHub Desktop.
Fix Nix after macOS upgrade

Append to /etc/zshrc and /etc/bashrc if missing.

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment