Since I have you here already @reckenrode, is there any way I can install the Xcode Command Line Tools through the devshell? Trying to run expo start --ios
and it keeps on asking me this.
Also, it seems like the output of xcode-select --print-path
changes between inside the devshell and outside of it:
# Inside the devshell
> xcode-select --print-path
/nix/store/1qxhik4b13h0h3xaim8aji98skyh558r-xcodebuild-0.1.2-pre/Applications/Xcode.app/Contents/Developer
# Outside the devshell
> xcode-select --print-path
/nix/store/bycxrcr3mjjfl5565dnv5qqhvyrffr5s-Xcode.app/Contents/Developer
I’ve followed these instructions to make Xcode available in the Nix store: https://github.com/NixOS/nixpkgs/blob/032324fd20e3be4124ffefd00da5bd66b0550e8c/pkgs/os-specific/darwin/xcode/default.nix#L23-L32