1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

owncast: fix ffmpeg issues with systemd

The `bash` and `which` wrapper dependencies were mistakenly removed last
package update.
The package works when run manually since you already have bash and
which in your path. Only when isolated in systemd does the issue emerge.
This commit is contained in:
Sam Willcocks 2023-08-02 10:16:29 +01:00
parent 59bdd40c59
commit b20ffc17bd

View file

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