1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

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.
This commit is contained in:
Alois Wohlschlager 2024-03-05 09:06:39 +01:00
parent 9099616b93
commit 113cc2d086
No known key found for this signature in database
GPG key ID: E0F59EA5E5216914

View file

@ -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];
}