Texinfo requires GNU awk, mainly during make check.
This fixes build on SmartOS.
This commit is contained in:
parent
11be480df4
commit
bcc7d8add9
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, perl, xz, interactive ? false }:
|
{ stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, interactive ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "texinfo-6.0";
|
name = "texinfo-6.0";
|
||||||
@ -9,8 +9,11 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl xz ]
|
buildInputs = [ perl xz ]
|
||||||
|
++ stdenv.lib.optional stdenv.isSunOS libiconv
|
||||||
++ stdenv.lib.optional interactive ncurses;
|
++ stdenv.lib.optional interactive ncurses;
|
||||||
|
|
||||||
|
configureFlags = "AWK=${gawk}/bin/awk";
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
installFlags="TEXMF=$out/texmf-dist";
|
installFlags="TEXMF=$out/texmf-dist";
|
||||||
installTargets="install install-tex";
|
installTargets="install install-tex";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user