nixpkgs-suyu/pkgs/applications/kde-apps-15.12/kdelibs/setup-hook.sh
Thomas Tuegel 42d19d7e71 kdeApps_15_12: don't inherit kdelibs
The beta versions of KDE Applications 15.12 did not include a kdelibs
release, so that package was borrowed from KDE Applications 15.08. The
final release of KDE Applications 15.12.0 does include kdelibs, however.
2015-12-16 09:48:18 -06: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)