bup: Fix build on Darwin with LLVM 16

Fallout from #234710.
This commit is contained in:
Zhaofeng Li 2023-12-03 11:36:13 -07:00
parent e92039b55b
commit 550b95e22c

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation {
"LIBDIR=$(out)/lib/bup"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration";
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=implicit-int";
postInstall = ''
wrapProgram $out/bin/bup \