nix: disable chroot on Darwin to avoid Xcode issues

Fixes:
```
xcodebuild: Operation not permitted
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-01-03 15:58:17 +01:00
parent 0048b70466
commit d70d3cdf8c
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 4 additions and 0 deletions

View File

@ -49,4 +49,8 @@ pkgs.mkShell {
ANDROID_NDK=${androidSdk}/libexec/android-sdk/ndk-bundle
ANDROID_NDK_HOME=$ANDROID_NDK
'';
# Sandbox causes Xcode issues on MacOS. Requires sandbox=relaxed.
# https://github.com/status-im/status-mobile/pull/13912
__noChroot = pkgs.stdenv.isDarwin;
}