From ee96f91d2c28e177c6af7307aff5f6ed2be15f13 Mon Sep 17 00:00:00 2001 From: Simon Chatterjee Date: Sun, 29 Sep 2019 21:00:32 +0100 Subject: [PATCH] pythonPackages.websocket: disable failing tests on darwin --- pkgs/development/python-modules/websockets/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/websockets/default.nix b/pkgs/development/python-modules/websockets/default.nix index 589a8089fcaa..9202d02ad5b9 100644 --- a/pkgs/development/python-modules/websockets/default.nix +++ b/pkgs/development/python-modules/websockets/default.nix @@ -3,6 +3,7 @@ , buildPythonPackage , pythonOlder , pytest +, stdenv }: buildPythonPackage rec { @@ -18,6 +19,9 @@ buildPythonPackage rec { disabled = pythonOlder "3.3"; + # Tests fail on Darwin with `OSError: AF_UNIX path too long` + doCheck = !stdenv.isDarwin; + meta = with lib; { description = "WebSocket implementation in Python 3"; homepage = "https://github.com/aaugustin/websockets";