about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiohttp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/aiohttp/default.nix')
-rw-r--r--pkgs/development/python-modules/aiohttp/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index 75db6b645291..576ea16a39f8 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -113,8 +113,8 @@ buildPythonPackage rec {
       # don't run benchmarks
       "test_import_time"
     ]
-    ++ lib.optionals stdenv.is32bit [ "test_cookiejar" ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.is32bit [ "test_cookiejar" ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       "test_addresses" # https://github.com/aio-libs/aiohttp/issues/3572, remove >= v4.0.0
       "test_close"
     ];
@@ -129,7 +129,7 @@ buildPythonPackage rec {
 
       export HOME=$(mktemp -d)
     ''
-    + lib.optionalString stdenv.isDarwin ''
+    + lib.optionalString stdenv.hostPlatform.isDarwin ''
       # Work around "OSError: AF_UNIX path too long"
       export TMPDIR="/tmp"
     '';