nix: address warning to use toplevel adwaita-icon-theme (#2993)

Preempt `nix develop` breaking when
https://github.com/NixOS/nixpkgs/pull/357818 turns the current warning
message into an error.

I agree to re-license my commits to MIT
This commit is contained in:
Mitchell Hashimoto
2024-12-16 21:06:44 -08:00
committed by GitHub

View File

@ -31,7 +31,7 @@
glslang,
gtk4,
libadwaita,
gnome,
adwaita-icon-theme,
hicolor-icon-theme,
harfbuzz,
libpng,
@ -165,7 +165,7 @@ in
# is available (namely icons).
# Minimal subset of env set by wrapGAppsHook4 for icons and global settings
export XDG_DATA_DIRS=$XDG_DATA_DIRS:${hicolor-icon-theme}/share:${gnome.adwaita-icon-theme}/share
export XDG_DATA_DIRS=$XDG_DATA_DIRS:${hicolor-icon-theme}/share:${adwaita-icon-theme}/share
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$GSETTINGS_SCHEMAS_PATH # from glib setup hook
'')
+ (lib.optionalString stdenv.hostPlatform.isDarwin ''