From 64f9c9236150cdf03ffacf2c5fcf0055fea1f428 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 23 Jan 2022 01:26:21 +0100 Subject: 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 --- pkgs/development/libraries/soci/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/libraries/soci') diff --git a/pkgs/development/libraries/soci/default.nix b/pkgs/development/libraries/soci/default.nix index b17fbe16655be..142081da0153a 100644 --- a/pkgs/development/libraries/soci/default.nix +++ b/pkgs/development/libraries/soci/default.nix @@ -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 = [ -- cgit 1.4.1