diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-11-21 22:32:16 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-11-21 22:32:16 +0100 |
commit | 1c9ba9f6ababe1c1555fb44fb64c56e5e36df80a (patch) | |
tree | d99ba53509f83c8b624922b967d50333b6d5b6e8 /pkgs/development/libraries/glib/setup-hook.sh | |
parent | b94b8ca3878df09f79d42f197bd7c9bf2740bae7 (diff) |
glib.setupHook: fix make_glib_find_gsettings_schemas
GSETTINGS_SCHEMAS_PATH needs to contain a list of directories containing glib-2.0/schemas. 770a4c7946a1c55bf6295a34a42e1c4b657d1088 broke that by accidentally adding glib-2.0 to the paths.
Diffstat (limited to 'pkgs/development/libraries/glib/setup-hook.sh')
-rw-r--r-- | pkgs/development/libraries/glib/setup-hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/glib/setup-hook.sh b/pkgs/development/libraries/glib/setup-hook.sh index 20714ea7ab874..37c750b8db66e 100644 --- a/pkgs/development/libraries/glib/setup-hook.sh +++ b/pkgs/development/libraries/glib/setup-hook.sh @@ -1,8 +1,8 @@ make_glib_find_gsettings_schemas() { # For packages that need gschemas of other packages (e.g. empathy) - for maybe_dir in "$1"/share/gsettings-schemas/*/glib-2.0; do - if [[ -d "$maybe_dir/schemas" ]]; then + for maybe_dir in "$1"/share/gsettings-schemas/*; do + if [[ -d "$maybe_dir/glib-2.0/schemas" ]]; then addToSearchPath GSETTINGS_SCHEMAS_PATH "$maybe_dir" fi done |