Commit 6688c7c6 authored by Weijia Wang's avatar Weijia Wang Committed by github-actions[bot]
Browse files

texinfo413: fix build on darwin

(cherry picked from commit 704ef039)
parent d24e7fdc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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;