summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-11-22 01:36:59 +0100
committerGitHub <noreply@github.com>2019-11-22 01:36:59 +0100
commitc589f702ce915d16b04eb6db64f3684796eeecce (patch)
treedc67c4770d6d943100b4174651bd5f17d31a7c6e /pkgs
parent0afae5c14b21b9eb0704e7c1a7c32daa743c5f54 (diff)
parent1c9ba9f6ababe1c1555fb44fb64c56e5e36df80a (diff)
downloadnixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar.gz
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar.bz2
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar.lz
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar.xz
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.tar.zst
nixpkgs-c589f702ce915d16b04eb6db64f3684796eeecce.zip
glib.setupHook: fix make_glib_find_gsettings_schemas (#73881)
glib.setupHook: fix make_glib_find_gsettings_schemas
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/glib/setup-hook.sh4
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 20714ea7ab8..37c750b8db6 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