From 704ef039af76d06504e295b195b3fa2db532189a Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 29 May 2024 23:07:36 +0200 Subject: [PATCH] texinfo413: fix build on darwin --- pkgs/development/tools/misc/texinfo/4.13a.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/texinfo/4.13a.nix b/pkgs/development/tools/misc/texinfo/4.13a.nix index b8da38ace6fb..c6036c069d0a 100644 --- a/pkgs/development/tools/misc/texinfo/4.13a.nix +++ b/pkgs/development/tools/misc/texinfo/4.13a.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, texinfo, ncurses, xz }: +{ stdenv, fetchurl, texinfo, ncurses, xz, lib }: stdenv.mkDerivation rec { pname = "texinfo"; @@ -12,6 +12,10 @@ stdenv.mkDerivation rec { 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;