How do I upgrade my existing Nix installation? After updating the nixpkgs-unstable channel, nixpkgs.nix is still 1.11.16 (and nixpkgs.nixUnstable is a 2.0 pre-release).
It will prob take like 5 hours to be updated. Run nix-channel --update then reinstall nix.
git clone https://github.com/nixos/nixpkgs
cd nixpkgs
git checkout origin/nix-2.0
nix-env -i $(nix-build --no-out-link . -A nix)This strikes me as very strange. Why was Nix 2.0 released without updating nixpkgs?
[1] https://github.com/NixOS/nix/releases/tag/2.0
[2] https://github.com/NixOS/nixpkgs/blob/472dd33ea4905d562d9380...