I changed my nix-channel to 25.05 Stable
, and I’m met with the following error when running sudo nixos-rebuild switch --upgrade
to upgrade from 24.11 to 25.05:
… while evaluating the attribute 'adwaita-icon-theme'
at /nix/store/5zf6dmmp2pqg6dyjr32yb6gldnhg13rv-nixos-25.05/nixos/pkgs/desktops/gnome/default.nix:42:3:
41| accerciser = throw "The ‘gnome.accerciser’ was moved to top-level. Please use ‘pkgs.accerciser’ directly."; # Added on 2024-06-22.
42| adwaita-icon-theme = throw "The ‘gnome.adwaita-icon-theme’ was moved to top-level. Please use ‘pkgs.adwaita-icon-theme’ directly."; # Added on 2024-06-22.
| ^
43| aisleriot = throw "The ‘gnome.aisleriot’ was moved to top-level. Please use ‘pkgs.aisleriot’ directly."; # Added on 2024-08-11.
… while calling the 'throw' builtin
at /nix/store/5zf6dmmp2pqg6dyjr32yb6gldnhg13rv-nixos-25.05/nixos/pkgs/desktops/gnome/default.nix:42:24:
41| accerciser = throw "The ‘gnome.accerciser’ was moved to top-level. Please use ‘pkgs.accerciser’ directly."; # Added on 2024-06-22.
42| adwaita-icon-theme = throw "The ‘gnome.adwaita-icon-theme’ was moved to top-level. Please use ‘pkgs.adwaita-icon-theme’ directly."; # Added on 2024-06-22.
| ^
43| aisleriot = throw "The ‘gnome.aisleriot’ was moved to top-level. Please use ‘pkgs.aisleriot’ directly."; # Added on 2024-08-11.
error: The ‘gnome.adwaita-icon-theme’ was moved to top-level. Please use ‘pkgs.adwaita-icon-theme’ directly.
I don’t have gnome.adwaita-icon-theme
in my config file, but I’m guessing another pkg is using it?
What can I do to work around this issue?