Unverified Commit c01c7a81 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #246751 from wlcx/fix-owncast

owncast: fix ffmpeg issues with systemd
parents 9cbab01d b20ffc17
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
, buildGoModule
, fetchFromGitHub
, nixosTests
, bash
, which
, ffmpeg
, makeBinaryWrapper
}:
@@ -25,7 +27,7 @@ in buildGoModule {

  postInstall = ''
    wrapProgram $out/bin/owncast \
      --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
      --prefix PATH : ${lib.makeBinPath [ bash which ffmpeg ]}
  '';

  installCheckPhase = ''