From c52e9e6080b8d9f1dab1e57748ee78b7d506f4b1 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 29 Jan 2019 16:19:02 -0500 Subject: [PATCH] pythonPackages.pyarrow: redo fix on darwin --- pkgs/development/python-modules/pyarrow/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index a66d8f7a025..899b18eecbe 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -19,8 +19,9 @@ buildPythonPackage rec { PYARROW_CMAKE_OPTIONS = [ "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib" - # for some reason cmake won't set -std=c++11 for clang - "-DPYARROW_CXXFLAGS=-std=c++11" + # This doesn't use setup hook to call cmake so we need to workaround #54606 + # ourselves + "-DCMAKE_POLICY_DEFAULT_CMP0025=NEW" ]; preCheck = ''