Merge pull request #199152 from cpcloud/duckdb-build-cores

python3Packages.duckdb: build using `$NIX_BUILD_CORES`
This commit is contained in:
Mario Rodas 2022-11-06 09:55:13 -05:00 committed by GitHub
commit ea00abd6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ buildPythonPackage rec {
preConfigure = ''
cd tools/pythonpkg
substituteInPlace setup.py --replace "multiprocessing.cpu_count()" "$NIX_BUILD_CORES"
'';
SETUPTOOLS_SCM_PRETEND_VERSION = version;