lol

texinfo: enable strictDeps and use libintl instead of gettext optional

libintl is null on linux and gettext on darwin

Artturin b0dce7f7 62e002d1

+3 -3
+3 -3
pkgs/development/tools/misc/texinfo/common.nix
··· 1 1 { version, sha256, patches ? [] }: 2 2 3 - { lib, stdenv, buildPackages, fetchurl, perl, xz, gettext 3 + { lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash 4 4 5 5 # we are a dependency of gcc, this simplifies bootstraping 6 6 , interactive ? false, ncurses, procps ··· 33 33 NATIVE_TOOLS_CFLAGS = if crossBuildTools then "-I${getDev buildPackages.ncurses}/include" else null; 34 34 NATIVE_TOOLS_LDFLAGS = if crossBuildTools then "-L${getLib buildPackages.ncurses}/lib" else null; 35 35 36 + strictDeps = true; 36 37 # We need a native compiler to build perl XS extensions 37 38 # when cross-compiling. 38 39 depsBuildBuild = [ buildPackages.stdenv.cc perl ]; 39 40 40 - buildInputs = [ xz.bin ] 41 + buildInputs = [ xz.bin bash libintl ] 41 42 ++ optionals stdenv.isSunOS [ libiconv gawk ] 42 - ++ optionals stdenv.isDarwin [ gettext ] 43 43 ++ optional interactive ncurses; 44 44 45 45 configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]