about summary refs log tree commit diff
path: root/pkgs/development/libraries/arrayfire/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/arrayfire/default.nix')
-rw-r--r--pkgs/development/libraries/arrayfire/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/arrayfire/default.nix b/pkgs/development/libraries/arrayfire/default.nix
index 5ea144ef9bc3..eb928f99e88a 100644
--- a/pkgs/development/libraries/arrayfire/default.nix
+++ b/pkgs/development/libraries/arrayfire/default.nix
@@ -29,7 +29,7 @@
 , cpuSupport ? true
 , cudaSupport ? config.cudaSupport
   # OpenCL needs mesa which is broken on Darwin
-, openclSupport ? !stdenv.isDarwin
+, openclSupport ? !stdenv.hostPlatform.isDarwin
   # This argument lets one run CUDA & OpenCL tests on non-NixOS systems by
   # telling Nix where to find the drivers. If you know the version of the
   # Nvidia driver that is installed on your system, you can do: