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
commit 653ad90bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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