about summary refs log tree commit diff
path: root/pkgs/development/python-modules/websockets/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/websockets/default.nix')
-rw-r--r--pkgs/development/python-modules/websockets/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/websockets/default.nix b/pkgs/development/python-modules/websockets/default.nix
index f2c7ce30d799..907024735afb 100644
--- a/pkgs/development/python-modules/websockets/default.nix
+++ b/pkgs/development/python-modules/websockets/default.nix
@@ -48,7 +48,7 @@ buildPythonPackage rec {
   nativeCheckInputs = [ unittestCheckHook ];
 
   # Tests fail on Darwin with `OSError: AF_UNIX path too long`
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   pythonImportsCheck = [ "websockets" ];