kde5.extra-cmake-modules: do not propagate build inputs for docs
This commit is contained in:
parent
84a83feb4d
commit
fc45aaafa6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user