about summary refs log tree commit diff
path: root/nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh')
-rw-r--r--nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh b/nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
index b6c50059868f..9a4975da8e0d 100644
--- a/nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
+++ b/nixpkgs/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
@@ -6,7 +6,7 @@ ecmEnvHook() {
     addToSearchPath XDG_DATA_DIRS "$1/share"
     addToSearchPath XDG_CONFIG_DIRS "$1/etc/xdg"
 }
-addEnvHooks "$targetOffset" ecmEnvHook
+addEnvHooks "$hostOffset" ecmEnvHook
 
 ecmPostHook() {
     # Because we need to use absolute paths here, we must set *all* the paths.
@@ -125,4 +125,4 @@ ecmHostPathHook() {
         propagatedUserEnvPkgs+=" $1"
     fi
 }
-addEnvHooks "$targetOffset" ecmHostPathHook
+addEnvHooks "$hostOffset" ecmHostPathHook