Unverified Commit d8cb9103 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #315980 from NixOS/backport-315721-to-release-24.05

[Backport release-24.05] texinfo413: fix build on darwin
parents 75000c2c 6688c7c6
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;