Unverified Commit d0f032c6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #228696 from status-im/xcodeenv/use-no-chroot

xcodeenv: use __noChroot to avoid permission errors
parents ba63ea92 8fd40975
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ assert stdenv.isDarwin;
stdenv.mkDerivation {
  pname = "xcode-wrapper${lib.optionalString allowHigher "-plus"}";
  inherit version;
  # Fails in sandbox. Use `--option sandbox relaxed` or `--option sandbox false`.
  __noChroot = true;
  buildCommand = ''
    mkdir -p $out/bin
    cd $out/bin