From 113cc2d08679acec1c4e9424a8613682d46781a3 Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Tue, 5 Mar 2024 09:06:39 +0100 Subject: 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. --- pkgs/kde/frameworks/baloo/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/kde') 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]; } -- cgit 1.4.1