about summary refs log tree commit diff
path: root/pkgs/development/python-modules/loguru/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/loguru/default.nix')
-rw-r--r--pkgs/development/python-modules/loguru/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/loguru/default.nix b/pkgs/development/python-modules/loguru/default.nix
index b3ec041169fe..216a20663381 100644
--- a/pkgs/development/python-modules/loguru/default.nix
+++ b/pkgs/development/python-modules/loguru/default.nix
@@ -33,7 +33,7 @@ buildPythonPackage rec {
 
   disabledTestPaths = [
     "tests/test_type_hinting.py" # avoid dependency on mypy
-  ] ++ lib.optionals stdenv.isDarwin [ "tests/test_multiprocessing.py" ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_multiprocessing.py" ];
 
   disabledTests =
     [
@@ -43,7 +43,7 @@ buildPythonPackage rec {
       # Slow test
       "test_time_rotation"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       "test_rotation_and_retention"
       "test_rotation_and_retention_timed_file"
       "test_renaming"