mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
texinfo: move ncurses support into texinfoInteractive
This, for example, drops the stdenv dependency on ncurses.
This commit is contained in:
parent
11d4c257c1
commit
457fdb3842
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, perl, xz }:
|
||||
{ stdenv, fetchurl, ncurses, perl, xz, interactive ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "texinfo-5.2";
|
||||
@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses perl xz ];
|
||||
buildInputs = [ perl xz ]
|
||||
++ stdenv.lib.optional interactive ncurses;
|
||||
|
||||
preInstall = ''
|
||||
installFlags="TEXMF=$out/texmf-dist";
|
||||
|
@ -3914,6 +3914,9 @@ let
|
||||
texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { };
|
||||
texinfo4 = texinfo413;
|
||||
texinfo = texinfo5;
|
||||
texinfoInteractive = appendToName "interactive" (
|
||||
texinfo.override { interactive = true; }
|
||||
);
|
||||
|
||||
texi2html = callPackage ../development/tools/misc/texi2html { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user