about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-30 19:49:50 +0100
committerGitHub <noreply@github.com>2021-11-30 19:49:50 +0100
commite038bc08cdb2a2a206a8028fd45f9ed105a50fe8 (patch)
treee4cf102806f91a0d75a77a81efa32fdb6a09cc97 /pkgs/applications/video
parentdc79916412754bde3108317e490a9e92a8618b7f (diff)
parent56cd5ac4db773ddfdd833ca34844927efdcaf3d3 (diff)
Merge pull request #147666 from ylh/patch-vcs
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/vcs/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/video/vcs/default.nix b/pkgs/applications/video/vcs/default.nix
index 4998797fcf3a1..37ea20718fd6e 100644
--- a/pkgs/applications/video/vcs/default.nix
+++ b/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";