I’ve used the unstable channel ever since I begun with NixOS (back in May), but with the current release (25.11) I’ve notice some of my apps started to simply not work properly (which haven’t had before but, this is my first release cycle and I’ve heard this is a common thing on release cycles for packages to break on unstable) and so I decided to switch to the stable channel for the time since it seems some of the issues I’m having had already been fixed on the stable channel.
However, upon removing the current channel, adding the stable channel and doing the sudo nixos-rebuild switch --upgrade I’ve got the following error:
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos’ does not exist, ignoring
error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I)
Command ‘nix-build ‘<nixpkgs/nixos>’ --attr config.system.build.nixos-rebuild --no-out-link’ returned non-zero exit status 1.
I’ve checked and, while I still have the channel being showcase on nix-channel –list, it seems not to be updating.
what is the process to correctly fix this?