texinfo413: fix build on darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user