Updrading Nix on an Ubuntu base - this is seriously broken!

When I started out the version from:
nix --version
nix (Nix) 2.23.0

I tried updating with the info here Upgrading Nix - Nix Reference Manual

But now when I run nix --version i get a lower version than the one that was installed.
nix --version
nix (Nix) 2.18.8

A newly installed system I have shows the following:
nix --version
nix (Nix) 2.24.9

How do I bring my older install in line with the newer one?

Thanks for the explanation of why the versions were different.
I think it’s a bit problematic to have the default install be the unstable branch.
As it seems to be the case for all things nix related, the documentation is either lacking, out-of-date or non-existent.

1 Like

It’s because nix and nixpkgs are at odds with each other while still being implicitly coupled.

1 Like