nixpkgs/pkgs/kde/frameworks/baloo/default.nix
Alois Wohlschlager 113cc2d086
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.
2024-03-05 09:06:39 +01:00

15 lines
385 B
Nix

{
mkKdeDerivation,
qtdeclarative,
lmdb,
}:
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];
}