libdbiDrivers: fix build with clang

This commit is contained in:
Weijia Wang 2024-03-21 10:00:46 +01:00
parent 88801dab5e
commit 367912953c

View File

@ -46,6 +46,11 @@ stdenv.mkDerivation rec {
"--with-pgsql_libdir=${postgresql.lib}/lib"
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=incompatible-function-pointer-types"
"-Wno-error=int-conversion"
]);
installFlags = [ "DESTDIR=\${out}" ];
postInstall = ''