diff --git a/pkgs/build-support/setup-hooks/wrap-gapps-hook.sh b/pkgs/build-support/setup-hooks/wrap-gapps-hook.sh index e9fc7f7062d2..3445c4b9cc1d 100644 --- a/pkgs/build-support/setup-hooks/wrap-gapps-hook.sh +++ b/pkgs/build-support/setup-hooks/wrap-gapps-hook.sh @@ -22,7 +22,7 @@ wrapGAppsHook() { fi if [ -d "$prefix/share" ]; then - gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$out/share") + gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$prefix/share") fi for v in $wrapPrefixVariables GST_PLUGIN_SYSTEM_PATH_1_0 GI_TYPELIB_PATH GRL_PLUGIN_PATH; do