mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
13 lines
253 B
Bash
13 lines
253 B
Bash
addToSearchPath XDG_DATA_DIRS @out@/share
|
|
|
|
addQt4Plugins() {
|
|
if [[ -d "$1/lib/qt4/plugins" ]]; then
|
|
propagatedUserEnvPkgs+=" $1"
|
|
fi
|
|
|
|
if [[ -d "$1/lib/kde4/plugins" ]]; then
|
|
propagatedUserEnvPkgs+=" $1"
|
|
fi
|
|
}
|
|
envHooks+=(addQt4Plugins)
|