about summary refs log tree commit diff
path: root/pkgs/kde
diff options
context:
space:
mode:
authorAlois Wohlschlager <alois1@gmx-topmail.de>2024-03-05 09:06:39 +0100
committerAlois Wohlschlager <alois1@gmx-topmail.de>2024-03-05 09:06:39 +0100
commit113cc2d08679acec1c4e9424a8613682d46781a3 (patch)
treecded18a42ce7e04f57561e2e0d3b2b3ee23c0bcb /pkgs/kde
parent9099616b93301d5cf84274b184a3a5ec69e94e08 (diff)
kdePackages.baloo: fix systemd unit to actually work
The kde-systemd-start-condition binary is not part of baloo. Hence the
condition check would fail and baloo would not start automatically. Use a
proper path instead.
Diffstat (limited to 'pkgs/kde')
-rw-r--r--pkgs/kde/frameworks/baloo/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/kde/frameworks/baloo/default.nix b/pkgs/kde/frameworks/baloo/default.nix
index 517e5285a4e06..40ab00ebd193d 100644
--- a/pkgs/kde/frameworks/baloo/default.nix
+++ b/pkgs/kde/frameworks/baloo/default.nix
@@ -6,5 +6,10 @@
 mkKdeDerivation {
   pname = "baloo";
 
+  # kde-systemd-start-condition is not part of baloo
+  postPatch = ''
+    substituteInPlace src/file/kde-baloo.service.in --replace-fail @KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition /run/current-system/sw/bin/kde-systemd-start-condition
+  '';
+
   extraBuildInputs = [qtdeclarative lmdb];
 }