diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index a330a9392876..399931db4b00 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -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 '';