Merge pull request #315721 from wegank/texinfo413-darwin

texinfo413: fix build on darwin

Changed files
+5 -1
pkgs
development
tools
misc
texinfo
+5 -1
pkgs/development/tools/misc/texinfo/4.13a.nix
···
-
{ stdenv, fetchurl, texinfo, ncurses, xz }:
+
{ stdenv, fetchurl, texinfo, ncurses, xz, lib }:
stdenv.mkDerivation rec {
pname = "texinfo";
···
buildInputs = [ ncurses ];
nativeBuildInputs = [ xz ];
+
+
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
+
"-Wno-error=implicit-function-declaration"
+
]);
# Disabled because we don't have zdiff in the stdenv bootstrap.
#doCheck = true;