Merge pull request #246751 from wlcx/fix-owncast

owncast: fix ffmpeg issues with systemd
This commit is contained in:
Franz Pletz 2023-08-02 12:47:24 +02:00 committed by GitHub
commit c01c7a81d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = ''