Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix: disable sandboxing for xcodewrapper #15774

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

jakubgs
Copy link
Member

@jakubgs jakubgs commented Apr 28, 2023

Otherwise we see weird errors like this:

/nix/store/g0jijpgcb4q54zbvz5p8yvxcnb6lshnk-stdenv-darwin/setup: line 1391: /nix/store/sja8sqq4y5s9ijkb97i3pi2jrhsy40cz-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
We require xcodebuild version: 14.3
error: builder for '/nix/store/d1dji0ywl851wgj9vv58ibpm32gq3wsm-xcode-wrapper-14.3.drv' failed with exit code 1;
       last 2 log lines:
       > /nix/store/g0jijpgcb4q54zbvz5p8yvxcnb6lshnk-stdenv-darwin/setup: line 1391: /nix/store/sja8sqq4y5s9ijkb97i3pi2jrhsy40cz-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
       > We require xcodebuild version: 14.3

Related: NixOS/nixpkgs#228696

Otherwise we see weird errors like this:
```
/nix/store/g0jijpgcb4q54zbvz5p8yvxcnb6lshnk-stdenv-darwin/setup: line 1391: /nix/store/sja8sqq4y5s9ijkb97i3pi2jrhsy40cz-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
We require xcodebuild version: 14.3
error: builder for '/nix/store/d1dji0ywl851wgj9vv58ibpm32gq3wsm-xcode-wrapper-14.3.drv' failed with exit code 1;
       last 2 log lines:
       > /nix/store/g0jijpgcb4q54zbvz5p8yvxcnb6lshnk-stdenv-darwin/setup: line 1391: /nix/store/sja8sqq4y5s9ijkb97i3pi2jrhsy40cz-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
       > We require xcodebuild version: 14.3
```
Related to: NixOS/nixpkgs#228696

Signed-off-by: Jakub Sokołowski <jakub@status.im>
@jakubgs jakubgs requested a review from a team April 28, 2023 09:24
@jakubgs jakubgs self-assigned this Apr 28, 2023
@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Apr 28, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Apr 28, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2f988fc #1 2023-04-28 09:30:27 ~5 min android-e2e 🤖apk 📲
✔️ 2f988fc #1 2023-04-28 09:30:46 ~5 min android 🤖apk 📲
✔️ 2f988fc #1 2023-04-28 09:31:06 ~6 min tests 📄log
✔️ 2f988fc #1 2023-04-28 09:33:24 ~8 min ios 📱ipa 📲

@jakubgs jakubgs merged commit 2f988fc into develop Apr 28, 2023
2 checks passed
Pipeline for QA automation moved this from REVIEW to DONE Apr 28, 2023
@jakubgs jakubgs deleted the nix/xcodeenv-no-chroot branch April 28, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants