python3Packages.duckdb: build using $NIX_BUILD_CORES

This commit is contained in:
Phillip Cloud 2022-11-02 07:52:29 -04:00
parent 2afef94930
commit 523030c5bc
No known key found for this signature in database
GPG key ID: D908212070FD785E

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;