Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Upgrade nix installed with nix-installer to unstable
  1. systemctl disable --now nix-daemon.service nix-daemon.socket
  2. nix-env -p /nix/var/nix/profiles/default/ --install nix-2.4pre20210317_8a5203d
  3. rm /etc/profile.d/ /etc/profile.d/
  4. ln -s /nix/var/nix/profiles/default/etc/profile.d/ /etc/profile.d/
  5. ln -s /nix/var/nix/profiles/default/etc/profile.d/ /etc/profile.d/
  6. systemctl link /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.{service,socket}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment