tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vcs: substitute standalone getopt outside of linux
Yestin L. Harrison
4 years ago
56cd5ac4
f3e7e37d
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
vcs
default.nix
+6
-2
pkgs/applications/video/vcs/default.nix
···
1
1
{ lib, stdenv, fetchurl, makeWrapper
2
2
-
, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer, util-linux
2
2
+
, coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer
3
3
+
, util-linux, getopt
3
4
, dejavu_fonts
4
5
}:
5
6
with lib;
6
7
let
7
8
version = "1.13.4";
8
8
-
runtimeDeps = [ coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer util-linux ];
9
9
+
gopt = if stdenv.isLinux then util-linux else getopt;
10
10
+
runtimeDeps = [
11
11
+
coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer gopt
12
12
+
];
9
13
in
10
14
stdenv.mkDerivation {
11
15
pname = "vcs";