Skip to content

Commit

Permalink
Merge pull request #271912 from zhaofengli/bup-llvm16
Browse files Browse the repository at this point in the history
bup: Fix build on Darwin with LLVM 16
  • Loading branch information
rnhmjoj authored Dec 4, 2023
2 parents da95219 + 550b95e commit 6f3d9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/backup/bup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6f3d9c7

Please sign in to comment.