sunshine: fix /bin/sleep in systemd service (#395760)
This commit is contained in:
commit
e1b2ab8d1e
@ -47,6 +47,7 @@
|
||||
miniupnpc,
|
||||
nlohmann_json,
|
||||
config,
|
||||
coreutils,
|
||||
cudaSupport ? config.cudaSupport,
|
||||
cudaPackages ? { },
|
||||
}:
|
||||
@ -200,7 +201,8 @@ stdenv'.mkDerivation rec {
|
||||
|
||||
substituteInPlace packaging/linux/sunshine.service.in \
|
||||
--subst-var-by PROJECT_DESCRIPTION 'Self-hosted game stream host for Moonlight' \
|
||||
--subst-var-by SUNSHINE_EXECUTABLE_PATH $out/bin/sunshine
|
||||
--subst-var-by SUNSHINE_EXECUTABLE_PATH $out/bin/sunshine \
|
||||
--replace-fail '/bin/sleep' '${lib.getExe' coreutils "sleep"}'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user