python3.pkgs.mitmproxy: add sandbox darwin build

This commit is contained in:
Theodore Ni 2023-08-22 11:56:28 -07:00
parent f967c5c16c
commit c7a50c5ea7
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -96,6 +96,8 @@ buildPythonPackage rec {
sed 's/>=\([0-9]\.\?\)\+\( \?, \?<\([0-9]\.\?\)\+\)\?\( \?, \?!=\([0-9]\.\?\)\+\)\?//' -i setup.py
'';
__darwinAllowLocalNetworking = true;
preCheck = ''
export HOME=$(mktemp -d)
'';