Merge pull request #247965 from tjni/watchfiles

python3.pkgs.watchfiles: fix sandbox darwin build
This commit is contained in:
Weijia Wang
2023-08-09 02:03:16 +02:00
committed by GitHub
@@ -53,6 +53,11 @@ buildPythonPackage rec {
anyio
];
# Tests need these permissions in order to use the FSEvents API on macOS.
sandboxProfile = ''
(allow mach-lookup (global-name "com.apple.FSEvents"))
'';
nativeCheckInputs = [
dirty-equals
pytest-mock