about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix')
-rw-r--r--pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix b/pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix
index 33f1b807ac50..e7b1fa52a871 100644
--- a/pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix
+++ b/pkgs/development/python-modules/pylibjpeg-openjpeg/default.nix
@@ -71,6 +71,7 @@ buildPythonPackage rec {
     maintainers = with lib.maintainers; [ bcdarwin ];
     # x86-linux: test_encode.py::TestEncodeBuffer failures
     # darwin: numerous test failures, seemingly due to issues setting up test data
-    broken = (stdenv.isAarch64 && stdenv.isLinux) || stdenv.isDarwin;
+    broken =
+      (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) || stdenv.hostPlatform.isDarwin;
   };
 }