nixpkgs-suyu/pkgs/desktops/kde-5/applications-16.04/kdelibs/setup-hook.sh
2016-04-25 19:04:24 -05:00

10 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)