mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
113cc2d086
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.
15 lines
385 B
Nix
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];
|
|
}
|