diff options
author | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-03-05 09:06:39 +0100 |
---|---|---|
committer | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-03-05 09:06:39 +0100 |
commit | 113cc2d08679acec1c4e9424a8613682d46781a3 (patch) | |
tree | cded18a42ce7e04f57561e2e0d3b2b3ee23c0bcb /pkgs/kde | |
parent | 9099616b93301d5cf84274b184a3a5ec69e94e08 (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.nix | 5 |
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]; } |