python3Packages.duckdb: build using $NIX_BUILD_CORES

This commit is contained in:
Phillip Cloud
2022-11-06 08:39:13 -05:00
parent 2afef94930
commit 523030c5bc
@@ -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;