diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2023-12-03 11:36:13 -0700 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2023-12-03 11:37:49 -0700 |
commit | 550b95e22c148071bf155573f9ced0bf96e2d408 (patch) | |
tree | 5a98b761b420c1ed5b0501d728993ef3e496fd30 /pkgs/tools/backup | |
parent | e92039b55bcd58469325ded85d4f58dd5a4eaf58 (diff) |
bup: Fix build on Darwin with LLVM 16
Fallout from #234710.
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/bup/default.nix | 2 |
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 \ |