From d70d3cdf8c92a786a9fbfab7d2295547546f2aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 3 Jan 2023 15:58:17 +0100 Subject: [PATCH] nix: disable chroot on Darwin to avoid Xcode issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: ``` xcodebuild: Operation not permitted ``` Signed-off-by: Jakub SokoĊ‚owski --- shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell.nix b/shell.nix index 48e409881..7a8009ff9 100644 --- a/shell.nix +++ b/shell.nix @@ -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; }