onedrive: patch missed paths

This commit is contained in:
ben9986
2024-12-07 01:47:47 +00:00
parent 3b33901cff
commit d2428f7e44
+4
View File
@@ -1,6 +1,7 @@
{
lib,
autoreconfHook,
coreutils,
curl,
fetchFromGitHub,
installShellFiles,
@@ -57,6 +58,9 @@ stdenv.mkDerivation (finalAttrs: {
installShellCompletion --bash --name onedrive contrib/completions/complete.bash
installShellCompletion --fish --name onedrive contrib/completions/complete.fish
installShellCompletion --zsh --name _onedrive contrib/completions/complete.zsh
substituteInPlace $out/lib/systemd/user/onedrive.service --replace-fail "/usr/bin/sleep" "${coreutils}/bin/sleep"
substituteInPlace $out/lib/systemd/system/onedrive@.service --replace-fail "/usr/bin/sleep" "${coreutils}/bin/sleep"
'';
passthru = {