vcs: substitute standalone getopt outside of linux

main
Yestin L. Harrison 3 years ago
parent f3e7e37dfb
commit 56cd5ac4db
  1. 8
      pkgs/applications/video/vcs/default.nix

@ -1,11 +1,15 @@
{ lib, stdenv, fetchurl, makeWrapper
, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer, util-linux
, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer
, util-linux, getopt
, dejavu_fonts
}:
with lib;
let
version = "1.13.4";
runtimeDeps = [ coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer util-linux ];
gopt = if stdenv.isLinux then util-linux else getopt;
runtimeDeps = [
coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer gopt
];
in
stdenv.mkDerivation {
pname = "vcs";

Loading…
Cancel
Save