From 550b95e22c148071bf155573f9ced0bf96e2d408 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 3 Dec 2023 11:36:13 -0700 Subject: [PATCH] bup: Fix build on Darwin with LLVM 16 Fallout from #234710. --- pkgs/tools/backup/bup/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/backup/bup/default.nix b/pkgs/tools/backup/bup/default.nix index 7bea67dc621bd..4b9951f2e2eaf 100644 --- a/pkgs/tools/backup/bup/default.nix +++ b/pkgs/tools/backup/bup/default.nix @@ -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 \