lol

Merge pull request #222568 from wegank/vhs-darwin

vhs: unbreak on darwin

authored by

Weijia Wang and committed by
GitHub
8be83825 7bd3cc44

+2 -2
+2 -2
pkgs/applications/misc/vhs/default.nix
··· 1 - { lib, buildGoModule, installShellFiles, fetchFromGitHub, ffmpeg, ttyd, chromium, makeWrapper }: 1 + { lib, stdenv, buildGoModule, installShellFiles, fetchFromGitHub, ffmpeg, ttyd, chromium, makeWrapper }: 2 2 3 3 buildGoModule rec { 4 4 pname = "vhs"; ··· 18 18 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; 19 19 20 20 postInstall = '' 21 - wrapProgram $out/bin/vhs --prefix PATH : ${lib.makeBinPath [ chromium ffmpeg ttyd ]} 21 + wrapProgram $out/bin/vhs --prefix PATH : ${lib.makeBinPath (lib.optionals stdenv.isLinux [ chromium ] ++ [ ffmpeg ttyd ])} 22 22 $out/bin/vhs man > vhs.1 23 23 installManPage vhs.1 24 24 installShellCompletion --cmd vhs \