mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
SmartOS: texinfo: Fix build and make configureFlags target optional.
This commit is contained in:
parent
1752268aed
commit
d510109c54
@ -9,17 +9,17 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ perl xz ]
|
||||
++ stdenv.lib.optional stdenv.isSunOS libiconv
|
||||
++ stdenv.lib.optionals stdenv.isSunOS [ libiconv gawk ]
|
||||
++ stdenv.lib.optional interactive ncurses;
|
||||
|
||||
configureFlags = "AWK=${gawk}/bin/awk";
|
||||
configureFlags = stdenv.lib.optionalString stdenv.isSunOS "AWK=${gawk}/bin/awk";
|
||||
|
||||
preInstall = ''
|
||||
installFlags="TEXMF=$out/texmf-dist";
|
||||
installTargets="install install-tex";
|
||||
'';
|
||||
|
||||
doCheck = !stdenv.isDarwin && !interactive;
|
||||
doCheck = !stdenv.isDarwin && !interactive && !stdenv.isSunOS/*flaky*/;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.gnu.org/software/texinfo/";
|
||||
|
Loading…
Reference in New Issue
Block a user