g_settings_schema_source_get_default(void) documentation says that the returned source may consist of multiple sources from different directories, and that lookups against the default source should be done recursively to cover this situation.
In Nixpkgs, we wrap this indicator by putting paths to the different schemas it might need into XDG_DATA_DIRS / GSETTINGS_SCHEMA_DIR. Without this recursive lookup, only the first directory in that list is checked.
g_settings_schema_source_get_default(void)
documentation says that the returned source may consist of multiple sources from different directories, and that lookups against the default source should be done recursively to cover this situation.In Nixpkgs, we wrap this indicator by putting paths to the different schemas it might need into
XDG_DATA_DIRS
/GSETTINGS_SCHEMA_DIR
. Without this recursive lookup, only the first directory in that list is checked.