mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
pythonPackages.docker: fix build on darwin
This commit is contained in:
parent
3b43c08dc5
commit
ad7764c615
1 changed files with 2 additions and 1 deletions
|
@ -30,8 +30,9 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
# Other tests touch network
|
||||
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
|
||||
checkPhase = ''
|
||||
${pytest}/bin/pytest tests/unit/
|
||||
${pytest}/bin/pytest tests/unit/ ${stdenv.lib.optionalString stdenv.isDarwin "--deselect=tests/unit/api_test.py::TCPSocketStreamTest"}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue