mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Merge pull request #179062 from klemensn/baloo-unbreak-service-startup
plasma5Package.baloo: Unbreak kde-baloo.service startup
This commit is contained in:
commit
28560923f2
@ -14,4 +14,12 @@ mkDerivation {
|
||||
];
|
||||
outputs = [ "out" "dev" ];
|
||||
propagatedBuildInputs = [ kcoreaddons kfilemetadata qtbase ];
|
||||
|
||||
# kde-baloo.service uses `ExecCondition=@KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition ...`
|
||||
# which comes from the "plasma-workspace" derivation, but KDE_INSTALL_* all point at the "baloo" one
|
||||
# (`${lib.getBin pkgs.plasma-workspace}` would cause infinite recursion)
|
||||
postUnpack = ''
|
||||
substituteInPlace "$sourceRoot"/src/file/kde-baloo.service.in \
|
||||
--replace @KDE_INSTALL_FULL_BINDIR@ /run/current-system/sw/bin
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user