Unverified Commit bce7f53b authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #224466 from benxiao/fix-pyarrow

python3.pkgs.pyarrow: fix build
parents 6b119b17 cebe5de8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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
  '';