Skip to content

Commit

Permalink
[Backport release-24.11] onedrive: patch hardcoded paths (#362675)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Dec 7, 2024
2 parents 95d21d1 + fc51dc2 commit e2605d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/on/onedrive/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
lib,
autoreconfHook,
coreutils,
curl,
fetchFromGitHub,
installShellFiles,
Expand Down Expand Up @@ -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/[email protected] --replace-fail "/usr/bin/sleep" "${coreutils}/bin/sleep"
'';

passthru = {
Expand Down

0 comments on commit e2605d0

Please sign in to comment.