mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 19:00:46 +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.
(cherry picked from commit b20ffc17bd)
This commit is contained in:
committed by
github-actions[bot]
parent
146e8f5424
commit
67e8130369
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user