Merge pull request #246751 from wlcx/fix-owncast
owncast: fix ffmpeg issues with systemd
This commit is contained in:
commit
c01c7a81d7
|
@ -2,6 +2,8 @@
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, bash
|
||||||
|
, which
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, makeBinaryWrapper
|
, makeBinaryWrapper
|
||||||
}:
|
}:
|
||||||
|
@ -25,7 +27,7 @@ in buildGoModule {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/owncast \
|
wrapProgram $out/bin/owncast \
|
||||||
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
--prefix PATH : ${lib.makeBinPath [ bash which ffmpeg ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue