mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
python3Packages.aiohttp: fix tests on Darwin
This commit is contained in:
parent
5fa658968b
commit
7e1f7b8e1f
@ -92,7 +92,10 @@ buildPythonPackage rec {
|
||||
# Probably because we run `python -m pytest` instead of `pytest` in the hook.
|
||||
preCheck = ''
|
||||
cd tests
|
||||
'';
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# Work around "OSError: AF_UNIX path too long"
|
||||
export TMPDIR="/tmp"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous HTTP Client/Server for Python and asyncio";
|
||||
|
Loading…
Reference in New Issue
Block a user