kdelibs: remove setup hook

Fixes #17346.

The kdelibs setup hook unnecessarily propagates kdelibs into the system
environment, leading to KDE 4 services running in a KDE 5 session.
This commit is contained in:
Thomas Tuegel 2016-08-24 09:45:40 -05:00
parent 58f532216f
commit b63d68ad83
2 changed files with 0 additions and 12 deletions

@ -36,8 +36,6 @@ kdeApp {
"-DKDE_DEFAULT_HOME=.kde"
];
setupHook = ./setup-hook.sh;
meta = {
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";

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