4 kauth, kconfig, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n,
5 kidletime, kio, lmdb, qtbase, qtdeclarative, solid,
10 nativeBuildInputs = [ extra-cmake-modules ];
12 kauth kconfig kcrash kdbusaddons ki18n kio kidletime lmdb qtdeclarative
15 outputs = [ "out" "dev" ];
16 propagatedBuildInputs = [ kcoreaddons kfilemetadata qtbase ];
18 # kde-baloo.service uses `ExecCondition=@KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition ...`
19 # which comes from the "plasma-workspace" derivation, but KDE_INSTALL_* all point at the "baloo" one
20 # (`${lib.getBin pkgs.plasma-workspace}` would cause infinite recursion)
22 substituteInPlace "$sourceRoot"/src/file/kde-baloo.service.in \
23 --replace @KDE_INSTALL_FULL_BINDIR@ /run/current-system/sw/bin