about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiosonic/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/aiosonic/default.nix')
-rw-r--r--pkgs/development/python-modules/aiosonic/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/aiosonic/default.nix b/pkgs/development/python-modules/aiosonic/default.nix
index e4dd72e700cd..b5f4e5406b8b 100644
--- a/pkgs/development/python-modules/aiosonic/default.nix
+++ b/pkgs/development/python-modules/aiosonic/default.nix
@@ -90,7 +90,7 @@ buildPythonPackage rec {
   pythonImportsCheck = [ "aiosonic" ];
 
   disabledTests =
-    lib.optionals stdenv.isLinux [
+    lib.optionals stdenv.hostPlatform.isLinux [
       # need network
       "test_simple_get"
       "test_get_python"
@@ -132,7 +132,7 @@ buildPythonPackage rec {
       "test_get_with_cookies"
       "test_proxy_request"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # "FAILED tests/test_proxy.py::test_proxy_request - Exception: port 8865 never got active"
       "test_proxy_request"
     ];