summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2023-12-03 11:36:13 -0700
committerZhaofeng Li <hello@zhaofeng.li>2023-12-03 11:37:49 -0700
commit550b95e22c148071bf155573f9ced0bf96e2d408 (patch)
tree5a98b761b420c1ed5b0501d728993ef3e496fd30
parentMerge pull request #270856 from trofi/kea-update (diff)
downloadnixpkgs-550b95e22c148071bf155573f9ced0bf96e2d408.tar.gz
bup: Fix build on Darwin with LLVM 16
Fallout from #234710.
-rw-r--r--pkgs/tools/backup/bup/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/backup/bup/default.nix b/pkgs/tools/backup/bup/default.nix
index 7bea67dc621b..4b9951f2e2ea 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 \