summary refs log tree commit diff
path: root/pkgs/development/libraries/glib
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-02-28 11:54:40 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-04-06 16:36:22 -0400
commit36109cda6e909fa2f121df70c5150a2a222569d3 (patch)
treed1e46b51b82d7aa87557eb5d90e6e389a6303508 /pkgs/development/libraries/glib
parent80be56bd6afc51f62b629672ff1d80423dfbd8b1 (diff)
downloadnixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar.gz
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar.bz2
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar.lz
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar.xz
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.tar.zst
nixpkgs-36109cda6e909fa2f121df70c5150a2a222569d3.zip
glib: put gsettings directory in target
These should be runtime, not build time deps
Diffstat (limited to 'pkgs/development/libraries/glib')
-rw-r--r--pkgs/development/libraries/glib/setup-hook.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/glib/setup-hook.sh b/pkgs/development/libraries/glib/setup-hook.sh
index 5d9c330b62e..8ead5510ec4 100644
--- a/pkgs/development/libraries/glib/setup-hook.sh
+++ b/pkgs/development/libraries/glib/setup-hook.sh
@@ -1,4 +1,3 @@
-
 make_glib_find_gsettings_schemas() {
     # For packages that need gschemas of other packages (e.g. empathy)
     for maybe_dir in "$1"/share/gsettings-schemas/*; do
@@ -7,7 +6,7 @@ make_glib_find_gsettings_schemas() {
         fi
     done
 }
-addEnvHooks "$hostOffset" make_glib_find_gsettings_schemas
+addEnvHooks "$targetOffset" make_glib_find_gsettings_schemas
 
 # Install gschemas, if any, in a package-specific directory
 glibPreInstallPhase() {