git.iko.soy/typeable/nixpkgs
on master help sign in
vcs: substitute standalone getopt outside of linux
commit56cd5ac4db773ddfdd833ca34844927efdcaf3d3 authorYestin L. Harrison <yestin@ylh.io> dateSat 27 Nov 2021, 23:06 (5 years ago) parentf3e7e37
1 file changed+6−2
pkgs/applications/video/vcs/default.nix+6−2
pkgs/applications/video/vcs/default.nix+6−2
@@ -1,11 +1,15 @@
11{ lib, stdenv, fetchurl, makeWrapper
2−, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer, util-linux
2+, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer
3+, util-linux, getopt
34, dejavu_fonts
45}:
56with lib;
67let
78 version = "1.13.4";
8− runtimeDeps = [ coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer util-linux ];
9+ gopt = if stdenv.isLinux then util-linux else getopt;
10+ runtimeDeps = [
11+ coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer gopt
12+ ];
913in
1014stdenv.mkDerivation {
1115 pname = "vcs";