Merge pull request #222568 from wegank/vhs-darwin
vhs: unbreak on darwin
This commit is contained in:
commit
8be838254b
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, installShellFiles, fetchFromGitHub, ffmpeg, ttyd, chromium, makeWrapper }:
|
||||
{ lib, stdenv, buildGoModule, installShellFiles, fetchFromGitHub, ffmpeg, ttyd, chromium, makeWrapper }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "vhs";
|
||||
@ -18,7 +18,7 @@ buildGoModule rec {
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/vhs --prefix PATH : ${lib.makeBinPath [ chromium ffmpeg ttyd ]}
|
||||
wrapProgram $out/bin/vhs --prefix PATH : ${lib.makeBinPath (lib.optionals stdenv.isLinux [ chromium ] ++ [ ffmpeg ttyd ])}
|
||||
$out/bin/vhs man > vhs.1
|
||||
installManPage vhs.1
|
||||
installShellCompletion --cmd vhs \
|
||||
|
Loading…
Reference in New Issue
Block a user