fixup! onedriver: fix systemd service (closes #291608)

This commit is contained in:
Massimo Gengarelli 2024-03-03 18:27:45 +01:00
parent 3e153863b5
commit baf6a41e9f

View file

@ -7,6 +7,7 @@
, fuse
, installShellFiles
, wrapGAppsHook
, wrapperDir ? "/run/wrappers/bin"
}:
let
pname = "onedriver";
@ -51,7 +52,7 @@ buildGoModule {
substituteInPlace $out/lib/systemd/user/onedriver@.service \
--replace "/usr/bin/onedriver" "$out/bin/onedriver" \
--replace "/usr/bin/fusermount" "${fuse}/bin/fusermount"
--replace "/usr/bin/fusermount" "${wrapperDir}/fusermount"
'';
meta = with lib; {