kde5.extra-cmake-modules: do not propagate build inputs for docs

This commit is contained in:
Thomas Tuegel 2016-04-18 18:06:11 -05:00
parent 84a83feb4d
commit fc45aaafa6

View File

@ -7,7 +7,6 @@ _ecmSetXdgDirs() {
_ecmPropagateSharedData() { _ecmPropagateSharedData() {
local sharedPaths=( \ local sharedPaths=( \
"config.cfg" \ "config.cfg" \
"doc" \
"kconf_update" \ "kconf_update" \
"kservices5" \ "kservices5" \
"kservicetypes5" \ "kservicetypes5" \
@ -20,7 +19,6 @@ _ecmPropagateSharedData() {
"applications" \ "applications" \
"desktop-directories" \ "desktop-directories" \
"mime" \ "mime" \
"info" \
"dbus-1" \ "dbus-1" \
"interfaces" \ "interfaces" \
"services" \ "services" \
@ -28,6 +26,7 @@ _ecmPropagateSharedData() {
for dir in ${sharedPaths[@]}; do for dir in ${sharedPaths[@]}; do
if [ -d "$1/share/$dir" ]; then if [ -d "$1/share/$dir" ]; then
addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share" addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share"
propagateOnce propagatedBuildInputs "$1"
propagateOnce propagatedUserEnvPkgs "$1" propagateOnce propagatedUserEnvPkgs "$1"
break break
fi fi