From cebe5de8aff7c8de800a8c8636b339e11ba695bc Mon Sep 17 00:00:00 2001 From: ran xiao Date: Mon, 3 Apr 2023 21:17:57 +1000 Subject: [PATCH] python3.pkgs.pyarrow: fix build --- pkgs/development/python-modules/pyarrow/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 '';