about summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com>2023-12-04 10:00:48 +0100
committerGitHub <noreply@github.com>2023-12-04 10:00:48 +0100
commit6f3d9c7288802bd463f1419c1354a2d8b5ad1d9a (patch)
tree5518ab81bf782fa2a241fd71a331561d89e6892c /pkgs/tools/backup
parentda95219c7d6ceba96eaeee526284441fa0fbfc63 (diff)
parent550b95e22c148071bf155573f9ced0bf96e2d408 (diff)
Merge pull request #271912 from zhaofengli/bup-llvm16
bup: Fix build on Darwin with LLVM 16
Diffstat (limited to 'pkgs/tools/backup')
-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 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 \