mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 00:27:49 +03:00
sunshine: fix systemd user service (#295918)
This commit is contained in:
parent
5616042a51
commit
100dee1ca2
@ -160,6 +160,10 @@ stdenv'.mkDerivation rec {
|
||||
--subst-var-by PROJECT_NAME 'Sunshine' \
|
||||
--subst-var-by PROJECT_DESCRIPTION 'Self-hosted game stream host for Moonlight' \
|
||||
--replace-fail '/usr/bin/env systemctl start --u sunshine' 'sunshine'
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user