Merge pull request #1219 from f-omega/master

Fix DuckDB 0.8
This commit is contained in:
adisbladis 2023-07-11 14:52:34 +00:00 committed by GitHub
commit e4089652c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -594,7 +594,7 @@ lib.composeManyExtensions [
duckdb = super.duckdb.overridePythonAttrs (old: {
postPatch = lib.optionalString (!(old.src.isWheel or false)) ''
cd tools/pythonpkg
${lib.optionalString (lib.versionOlder old.version "0.8") "cd tools/pythonpkg"}
substituteInPlace setup.py \
--replace 'multiprocessing.cpu_count()' "$NIX_BUILD_CORES" \