1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/applications/kde-apps-15.04/setup-hook.sh

13 lines
253 B
Bash
Raw Normal View History

2015-04-08 15:41:05 +01:00
addToSearchPath XDG_DATA_DIRS @out@/share
2015-06-18 20:25:51 +01:00
addQt4Plugins() {
if [[ -d "$1/lib/qt4/plugins" ]]; then
propagatedUserEnvPkgs+=" $1"
fi
if [[ -d "$1/lib/kde4/plugins" ]]; then
propagatedUserEnvPkgs+=" $1"
fi
}
envHooks+=(addQt4Plugins)