about summary refs log tree commit diff
path: root/pkgs/development/python-modules/datatable/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/datatable/default.nix')
-rw-r--r--pkgs/development/python-modules/datatable/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/datatable/default.nix b/pkgs/development/python-modules/datatable/default.nix
index 6a7c80ada33e..1608ec12e8f2 100644
--- a/pkgs/development/python-modules/datatable/default.nix
+++ b/pkgs/development/python-modules/datatable/default.nix
@@ -53,7 +53,7 @@ buildPythonPackage rec {
   ];
 
   LLVM = llvm;
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
 
   # test suite is very cpu intensive, only run small subset to ensure package is working as expected
   pytestFlagsArray = [ "tests/test-sets.py" ];