lol

python3Packages.magic-wormhole-mailbox-server: disable tests darwin

+7
+7
pkgs/development/python-modules/magic-wormhole-mailbox-server/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , fetchpatch ··· 47 48 mock 48 49 twisted 49 50 ]; 51 + 52 + # Fails in Darwin's sandbox 53 + postPatch = lib.optionalString stdenv.isDarwin '' 54 + echo 'LogRequests.skip = "Operation not permitted"' >> src/wormhole_mailbox_server/test/test_web.py 55 + echo 'WebSocketAPI.skip = "Operation not permitted"' >> src/wormhole_mailbox_server/test/test_web.py 56 + ''; 50 57 51 58 checkPhase = '' 52 59 trial -j$NIX_BUILD_CORES wormhole_mailbox_server