python3Packages.cassandra-driver: enable parallel building

This commit is contained in:
Martin Joerg
2025-10-12 17:47:05 +00:00
parent 483cbb0696
commit 0ce1bda5ae
@@ -62,6 +62,10 @@ buildPythonPackage rec {
# This is used to determine the version of cython that can be used
CASS_DRIVER_ALLOWED_CYTHON_VERSION = cython.version;
preBuild = ''
export CASS_DRIVER_BUILD_CONCURRENCY=$NIX_BUILD_CORES
'';
# Make /etc/protocols accessible to allow socket.getprotobyname('tcp') in sandbox,
# also /etc/resolv.conf is referenced by some tests
preCheck =