about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyarrow
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-03-26 00:05:59 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-03-26 00:05:59 -0400
commit49e9194b243ea59415f2b6f25a62180b00f2af38 (patch)
tree0facbd3531e313c23b67ccd09cddedc992e51d3f /pkgs/development/python-modules/pyarrow
parent796a8764ab85746f916e2cc8f6a9a5fc6d4d03ac (diff)
pythonPackages.pyarrow: fix build
Setting setupPyBuildFlags makes builder add an additional target
"build_ext" to setup.py arguments in addition to "bdisst_wheel".
pyarrow's setup.py recently started to try to redo build_ext again which
broke the build.
Diffstat (limited to 'pkgs/development/python-modules/pyarrow')
-rw-r--r--pkgs/development/python-modules/pyarrow/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix
index 899b18eecbedf..d568cea78517d 100644
--- a/pkgs/development/python-modules/pyarrow/default.nix
+++ b/pkgs/development/python-modules/pyarrow/default.nix
@@ -16,6 +16,7 @@ buildPythonPackage rec {
   checkInputs = [ hypothesis pandas pytest ];
 
   PYARROW_BUILD_TYPE = "release";
+  PYARROW_WITH_PARQUET = true;
   PYARROW_CMAKE_OPTIONS = [
     "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"
 
@@ -48,8 +49,6 @@ buildPythonPackage rec {
   ARROW_HOME = _arrow-cpp;
   PARQUET_HOME = _arrow-cpp;
 
-  setupPyBuildFlags = ["--with-parquet" ];
-
   checkPhase = ''
     mv pyarrow/tests tests
     rm -rf pyarrow