about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pillow-heif/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pillow-heif/default.nix')
-rw-r--r--pkgs/development/python-modules/pillow-heif/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix
index d512839a797c0..5c8488b9f17ce 100644
--- a/pkgs/development/python-modules/pillow-heif/default.nix
+++ b/pkgs/development/python-modules/pillow-heif/default.nix
@@ -90,12 +90,12 @@ buildPythonPackage rec {
       # Time based
       "test_decode_threads"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # https://github.com/bigcat88/pillow_heif/issues/89
       # not reproducible in nixpkgs
       "test_opencv_crash"
     ]
-    ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
+    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
       # RuntimeError: Encoder plugin generated an error: Unsupported bit depth: Bit depth not supported by x265
       "test_open_heif_compare_non_standard_modes_data"
       "test_open_save_disable_16bit"