xcodeenv: use __noChroot to avoid permission errors
When `sandbox=relaxed` is used this derivation fails with: ``` > /nix/store/yyy-stdenv-darwin/setup: line 1391: /nix/store/xxx-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted > We require xcodebuild version: 14.3 ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
2d623b4689
commit
8fd4097529
@ -8,6 +8,8 @@ assert stdenv.isDarwin;
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "xcode-wrapper${lib.optionalString allowHigher "-plus"}";
|
pname = "xcode-wrapper${lib.optionalString allowHigher "-plus"}";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
# Fails in sandbox. Use `--option sandbox relaxed` or `--option sandbox false`.
|
||||||
|
__noChroot = true;
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cd $out/bin
|
cd $out/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user