summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/glib/setup-hook.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/glib/setup-hook.sh b/pkgs/development/libraries/glib/setup-hook.sh
index e5c0c372da0..f173744e5ca 100644
--- a/pkgs/development/libraries/glib/setup-hook.sh
+++ b/pkgs/development/libraries/glib/setup-hook.sh
@@ -1,17 +1,17 @@
 # Install gschemas, if any, in a package-specific directory
-installFlagsArray+=("gsettingsschemadir=$out/gsettings-schemas/$name/glib-2.0/schemas/")
+installFlagsArray+=("gsettingsschemadir=$out/share/gsettings-schemas/$name/glib-2.0/schemas/")
 
 make_glib_find_gsettings_schemas() {
-	# For packages that need gschemas of other packages (e.g. empathy)
-	if [ -d "$1/gsettings-schemas/*/glib-2.0/schemas" ]; then
-		addToSearchPath GSETTINGS_SCHEMAS_PATH "$1/gsettings-schemas/"*
-	fi
+    # For packages that need gschemas of other packages (e.g. empathy)
+    if [ -d "$1"/share/gsettings-schemas/*/glib-2.0/schemas ]; then
+        addToSearchPath GSETTINGS_SCHEMAS_PATH "$1/share/gsettings-schemas/"*
+    fi
 }
 
 envHooks+=(make_glib_find_gsettings_schemas)
 
 glibPreFixupPhase() {
-	addToSearchPath GSETTINGS_SCHEMAS_PATH "$out/gsettings-schemas/$name"
+    addToSearchPath GSETTINGS_SCHEMAS_PATH "$out/share/gsettings-schemas/$name"
 }
 
 preFixupPhases="$preFixupPhases glibPreFixupPhase"