subversion: fix darwin (#341232)

This commit is contained in:
Weijia Wang 2024-09-13 00:56:58 +02:00 committed by GitHub
commit 6f7b297d96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,14 @@ let
# "-P" CPPFLAG is needed to build Python bindings and subversionClient
CPPFLAGS = [ "-P" ];
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
"-Wno-error=implicit-function-declaration"
"-Wno-error=implicit-int"
"-Wno-int-conversion"
];
};
preConfigure = lib.optionalString needsAutogen ''
./autogen.sh
'';