While you're at it. It would be nice to have something like devenv.append('XDG_DATA_DIRS', '/usr/share') there as well.
I always need to do export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share otherwise Pidgin either crashes or at the very least does not use the system icons.
Is this a new crash? I haven't seen this before myself.
It's not new. I think I'm the only one getting it, might be related to me running KDE.
Interesting. I'm hesistant to start throwing tons of stuff in there, but it probably won't hurt.. The tons of stuff would be because of macOS and Windows mostly, but we can cross that bridge when we need to.
Per the spec, it should default to /usr/local/share/:/usr/share/ which we can see is set properly in glib as you can see here https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gutils.c#L2696.