about summary refs log tree commit diff
path: root/pkgs/development/libraries/itk/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/itk/generic.nix')
-rw-r--r--pkgs/development/libraries/itk/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/itk/generic.nix b/pkgs/development/libraries/itk/generic.nix
index 808bac76e861..d4ece7d311ec 100644
--- a/pkgs/development/libraries/itk/generic.nix
+++ b/pkgs/development/libraries/itk/generic.nix
@@ -147,7 +147,7 @@ stdenv.mkDerivation {
       libX11
       libuuid
     ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ]
     ++ lib.optionals enablePython [ python ]
     ++ lib.optionals withVtk [ vtk ];
   # Due to ITKVtkGlue=ON and the additional dependencies needed to configure VTK 9