nixpkgs/pkgs/applications/kde-apps-15.08/kdelibs/setup-hook.sh
2015-09-27 15:08:11 -05:00

11 lines
210 B
Bash

addQt4Plugins() {
if [[ -d "$1/lib/qt4/plugins" ]]; then
propagatedUserEnvPkgs+=" $1"
fi
if [[ -d "$1/lib/kde4/plugins" ]]; then
propagatedUserEnvPkgs+=" $1"
fi
}
envHooks+=(addQt4Plugins)