about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-04 19:46:06 +0300
committerGitHub <noreply@github.com>2023-04-04 19:46:06 +0300
commitbce7f53b8faacc809a30f1e7d7231f156b913954 (patch)
tree99e9581f5396e418402a637146525c4050100d8d /pkgs
parent6b119b17460fb87686a7c1ac2b3c9e7f45bf994f (diff)
parentcebe5de8aff7c8de800a8c8636b339e11ba695bc (diff)
Merge pull request #224466 from benxiao/fix-pyarrow
python3.pkgs.pyarrow: fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pyarrow/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix
index a330a93928768..399931db4b00c 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
   '';