soci: fix build w/glibc-2.34

We don't run the tests and I didn't manage to get them running
trivially, so let's disable them. This not only speeds up
compilation-time, but also fixes the build for glibc 2.34.

Failing Hydra build: https://hydra.nixos.org/build/163952252
This commit is contained in:
Maximilian Bosch 2022-01-23 01:26:21 +01:00
parent e10ea9608a
commit 64f9c92361
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
];
# Do not build static libraries
cmakeFlags = [ "-DSOCI_STATIC=OFF" "-DCMAKE_CXX_STANDARD=11" ];
cmakeFlags = [ "-DSOCI_STATIC=OFF" "-DCMAKE_CXX_STANDARD=11" "-DSOCI_TESTS=off" ];
nativeBuildInputs = [ cmake ];
buildInputs = [