about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pillow/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pillow/generic.nix')
-rw-r--r--pkgs/development/python-modules/pillow/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pillow/generic.nix b/pkgs/development/python-modules/pillow/generic.nix
index 36fe5b0421fe..1ecaea6b205d 100644
--- a/pkgs/development/python-modules/pillow/generic.nix
+++ b/pkgs/development/python-modules/pillow/generic.nix
@@ -37,7 +37,7 @@ buildPythonPackage rec {
       "test_basic"
       "test_custom_metadata"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # Disable darwin tests which require executables: `iconutil` and `screencapture`
       "test_grab"
       "test_grabclipboard"