Cant upgrade from 23.05 to 23.11

root@nixos:/home/radek/Desktop]# nixos-rebuild switch --upgrade
unpacking channels…
error: failed to extract archive (Lzma library error: Corrupted input data)
error: builder for ‘/nix/store/2yb2nfwr3s2rlm4vjww24bjxzq2j8rx4-nixos-23.05.drv’ failed with exit code 1
error: program ‘/nix/store/2zdq28c97x3rqb7fqrrvwkdzh44pdq05-nix-2.13.3/bin/nix-env’ failed with exit code 100

Maybe a channel has the wrong URL? What does nix-channel --list say? Does nix-channel -vvv --update reveal any clues?