about summary refs log tree commit diff
path: root/pkgs/development/python-modules/detectron2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/detectron2/default.nix')
-rw-r--r--pkgs/development/python-modules/detectron2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/detectron2/default.nix b/pkgs/development/python-modules/detectron2/default.nix
index 2247b4581a4d..95506510e214 100644
--- a/pkgs/development/python-modules/detectron2/default.nix
+++ b/pkgs/development/python-modules/detectron2/default.nix
@@ -163,7 +163,7 @@ buildPythonPackage {
       "test_overlay_instances_no_boxes"
       "test_get_bounding_box"
     ]
-    ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
+    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
       "test_build_batch_dataloader_inference"
       "test_build_dataloader_inference"
       "test_build_iterable_dataloader_inference"