Merge pull request #224466 from benxiao/fix-pyarrow

python3.pkgs.pyarrow: fix build
This commit is contained in:
Weijia Wang 2023-04-04 19:46:06 +03:00 committed by GitHub
commit bce7f53b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@
, pytest-lazy-fixture
, pkg-config
, scipy
, fetchpatch
, setuptools-scm
}:
@ -84,6 +85,15 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
# fix on current master
patches = [
(fetchpatch {
url = "https://github.com/apache/arrow/commit/bce43175aa8cfb4534d3efbcc092f697f25f0f5a.patch";
hash = "sha256-naOAQjQgSKIoCAGCKr7N4dCkOMtweAdfggGOQKDY3k0=";
stripLen = 1;
})
];
preBuild = ''
export PYARROW_PARALLEL=$NIX_BUILD_CORES
'';