Page MenuHomePhabricator

[native] Fix Buildkite iOS build to work from inside Nix
ClosedPublic

Authored by ashoat on Feb 20 2023, 10:47 AM.
Tags
None
Referenced Files
F3398783: D6785.id22736.diff
Mon, Dec 2, 12:30 AM
F3398738: D6785.id22740.diff
Mon, Dec 2, 12:18 AM
Unknown Object (File)
Fri, Nov 29, 8:49 PM
Unknown Object (File)
Fri, Nov 29, 8:32 PM
Unknown Object (File)
Fri, Nov 29, 6:57 PM
Unknown Object (File)
Sun, Nov 10, 9:51 PM
Unknown Object (File)
Oct 27 2024, 5:51 PM
Unknown Object (File)
Oct 19 2024, 9:26 PM
Subscribers

Details

Summary

We need the same patch we use in native/package.json for yarn react-native and yarn expo.

Test Plan

Let's see if this diff's Buildkite build succeeds :)

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/fix_ios_buildkite
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Feb 20 2023, 10:50 AM

Move $PATH hack to package.json. I suspect Buildkite is doing something wonky

Seeing this issue because macOS's cp command is in /bin, and so we end up using the GNU one instead

This revision updates us to prefix $PATH with not just /usr/bin, but also /bin, so that we have access to BSD cp

It worked! Adding /bin to all of the places we prefix /usr/bin for future-proofing

This revision is now accepted and ready to land.Feb 20 2023, 11:53 AM