subversion: fix darwin

This commit is contained in:
Austin Horstman
2024-09-11 15:39:26 -05:00
parent efa31d00d0
commit a0778fea14
@@ -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
'';