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:
parent
9099616b93
commit
113cc2d086
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue