mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
vcs: substitute standalone getopt outside of linux
This commit is contained in:
parent
f3e7e37dfb
commit
56cd5ac4db
1 changed files with 6 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
||||||
{ lib, stdenv, fetchurl, makeWrapper
|
{ 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
|
, dejavu_fonts
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
version = "1.13.4";
|
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
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "vcs";
|
pname = "vcs";
|
||||||
|
|
Loading…
Reference in a new issue